Add dev tool configs

This commit is contained in:
Adrian Moennich 2021-07-28 12:19:17 +02:00
parent 1953646a23
commit a75f48a034
2 changed files with 37 additions and 0 deletions

29
payment_sixpay/.flake8 Normal file
View 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

View 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