1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
[build-system]
requires = [
"setuptools>=42",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.black]
target-version = ['py35', 'py36', 'py37', 'py38', 'py39']
color = true
skip_magic_trailing_comma = true
[tool.isort]
profile = "black"
known_first_party = ["fiscalyear"]
skip_gitignore = true
color_output = true
[tool.mypy]
show_error_codes = true
exclude = "(build|dist)/"
# Strict
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
strict_equality = true
|