Tool tweak
This commit is contained in:
5
.flake8
5
.flake8
@@ -1,2 +1,5 @@
|
|||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 88
|
ignore = E203, E266, E501, W503, F403, F401
|
||||||
|
max-line-length = 79
|
||||||
|
max-complexity = 18
|
||||||
|
select = B,C,E,F,W,T4,B9
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ dist/
|
|||||||
__pycache__/
|
__pycache__/
|
||||||
*.spec
|
*.spec
|
||||||
*.log
|
*.log
|
||||||
|
logs/
|
||||||
|
|||||||
16
pyproject.toml
Normal file
16
pyproject.toml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
[tool.black]
|
||||||
|
line-length = 79
|
||||||
|
include = '\.pyi?$'
|
||||||
|
exclude = '''
|
||||||
|
/(
|
||||||
|
\.git
|
||||||
|
| \.hg
|
||||||
|
| \.mypy_cache
|
||||||
|
| \.tox
|
||||||
|
| \.venv
|
||||||
|
| _build
|
||||||
|
| buck-out
|
||||||
|
| build
|
||||||
|
| dist
|
||||||
|
)/
|
||||||
|
'''
|
||||||
Reference in New Issue
Block a user