2016-10-14 10:03:27 +03:00
|
|
|
[flake8]
|
|
|
|
max-line-length = 160
|
2017-01-09 08:43:29 +03:00
|
|
|
exclude==template.py,linux-package
|
2017-02-08 07:29:36 +03:00
|
|
|
|
|
|
|
[yapf]
|
|
|
|
based_on_style = pep8
|
|
|
|
split_penalty_import_names = 100
|
|
|
|
dedent_closing_brackets = True
|
|
|
|
coalesce_brackets = True
|
|
|
|
blank_line_before_nested_class_or_def = True
|
|
|
|
|
|
|
|
[isort]
|
|
|
|
combine_as_imports = True
|
|
|
|
multi_line_output = 5
|
2020-03-04 05:38:46 +03:00
|
|
|
|
2020-03-08 08:32:14 +03:00
|
|
|
[mypy]
|
|
|
|
files = kitty,kittens,glfw,*.py,docs/conf.py
|
|
|
|
no_implicit_optional = True
|
|
|
|
sqlite_cache = True
|
|
|
|
cache_fine_grained = True
|
|
|
|
warn_redundant_casts = True
|
|
|
|
warn_unused_ignores = True
|
|
|
|
warn_return_any = True
|
|
|
|
warn_unreachable = True
|
|
|
|
warn_no_return = False
|
2020-03-08 12:09:46 +03:00
|
|
|
warn_unused_configs = True
|
|
|
|
check_untyped_defs = True
|
2020-03-14 09:12:05 +03:00
|
|
|
disallow_untyped_defs = True
|
2020-03-14 12:20:04 +03:00
|
|
|
disallow_untyped_decorators = True
|
2020-03-14 12:29:31 +03:00
|
|
|
disallow_untyped_calls = True
|
|
|
|
disallow_incomplete_defs = True
|
|
|
|
no_implicit_reexport = True
|
2020-03-09 16:07:23 +03:00
|
|
|
|
|
|
|
[mypy-conf]
|
|
|
|
# ignored because on the CI server sphinx type stubs are available somehow, but
|
|
|
|
# not on my dev machine
|
|
|
|
warn_unused_ignores = False
|