add python tooling configuration
This commit is contained in:
parent
72bd3d3dc6
commit
d1253dc91f
2 changed files with 27 additions and 0 deletions
10
pyproject.toml
Normal file
10
pyproject.toml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[tool.black]
|
||||
line-length = 88
|
||||
py36 = true
|
||||
include = '\.pyi?$'
|
||||
exclude = '''
|
||||
/(
|
||||
\.git
|
||||
| \.mypy_cache
|
||||
)/
|
||||
'''
|
||||
17
setup.cfg
Normal file
17
setup.cfg
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[wheel]
|
||||
universal = 1
|
||||
|
||||
[pycodestyle]
|
||||
max-line-length = 88
|
||||
ignore = E501,E741,W503
|
||||
|
||||
[flake8]
|
||||
max-line-length = 88
|
||||
ignore = E501,E741,W503
|
||||
exclude = .git,__pycache__,docs/source/conf.py,old,build,dist
|
||||
|
||||
[mypy]
|
||||
warn_redundant_casts = true
|
||||
disallow_untyped_calls = true
|
||||
disallow_untyped_defs = true
|
||||
no_implicit_optional = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue