mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
Add dev tool configs
This commit is contained in:
parent
1953646a23
commit
a75f48a034
29
payment_sixpay/.flake8
Normal file
29
payment_sixpay/.flake8
Normal file
@ -0,0 +1,29 @@
|
||||
[flake8]
|
||||
max-line-length = 120
|
||||
|
||||
# colored output
|
||||
format = ${cyan}%(path)s${reset}:${yellow_bold}%(row)d${reset}:${green_bold}%(col)d${reset}: ${red_bold}%(code)s${reset} %(text)s
|
||||
|
||||
# decent quote styles
|
||||
inline-quotes = single
|
||||
multiline-quotes = single
|
||||
docstring-quotes = double
|
||||
avoid-escape = true
|
||||
|
||||
extend-exclude =
|
||||
build
|
||||
dist
|
||||
docs
|
||||
htmlcov
|
||||
*.egg-info
|
||||
node_modules
|
||||
.*/
|
||||
|
||||
ignore =
|
||||
# allow omitting whitespace around arithmetic operators
|
||||
E226
|
||||
# don't require specific wrapping before/after binary operators
|
||||
W503
|
||||
W504
|
||||
# allow assigning lambdas (it's useful for single-line functions defined inside other functions)
|
||||
E731
|
||||
8
payment_sixpay/.isort.cfg
Normal file
8
payment_sixpay/.isort.cfg
Normal file
@ -0,0 +1,8 @@
|
||||
[isort]
|
||||
line_length=120
|
||||
multi_line_output=0
|
||||
lines_after_imports=2
|
||||
sections=FUTURE,STDLIB,THIRDPARTY,INDICO,FIRSTPARTY,LOCALFOLDER
|
||||
known_third_party=flask_multipass,flask_pluginengine
|
||||
known_indico=indico
|
||||
skip_glob=20??????????_*_*.py
|
||||
Loading…
x
Reference in New Issue
Block a user