generated from jowj/python-template
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
924 B
49 lines
924 B
[tool.isort]
|
|
multi_line_output = 3
|
|
include_trailing_comma = true
|
|
force_grid_wrap = 0
|
|
use_parentheses = true
|
|
line_length = 100
|
|
|
|
|
|
[tool.pylint.messages_control]
|
|
max-line-length = 100
|
|
disable = ["C0330"]
|
|
|
|
[tool.black]
|
|
line-length = 100
|
|
target-version = ['py39']
|
|
include = '\.pyi?$'
|
|
exclude = '''
|
|
|
|
(
|
|
/(
|
|
\.eggs # exclude a few common directories in the
|
|
| \.git # root of the project
|
|
| \.hg
|
|
| \.mypy_cache
|
|
| \.tox
|
|
| \.venv
|
|
| _build
|
|
| buck-out
|
|
| build
|
|
| dist
|
|
)/
|
|
| foo.py # also separately exclude a file named foo.py in
|
|
# the root of the project
|
|
)
|
|
'''
|
|
|
|
|
|
[tool.mypy]
|
|
python_version = "3.9"
|
|
follow_imports = 'silent'
|
|
strict_optional = true
|
|
warn_redundant_casts = true
|
|
warn_unused_ignores = true
|
|
disallow_any_generics = true
|
|
check_untyped_defs = true
|
|
no_implicit_reexport = true
|
|
disallow_untyped_defs = true
|
|
ignore_missing_imports = true
|