mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Implement proper editor integration for mypy
This commit is contained in:
23
setup.cfg
23
setup.cfg
@@ -13,25 +13,6 @@ blank_line_before_nested_class_or_def = True
|
||||
combine_as_imports = True
|
||||
multi_line_output = 5
|
||||
|
||||
[pylama]
|
||||
linters=mypy,pycodestyle,pyflakes
|
||||
|
||||
[pylama:pycodestyle]
|
||||
max_line_length = 120
|
||||
exclude==template.py,linux-package
|
||||
|
||||
[pylama: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
|
||||
check_untyped_defs = True
|
||||
|
||||
[mypy]
|
||||
files = kitty,kittens,glfw,*.py,docs/conf.py
|
||||
no_implicit_optional = True
|
||||
@@ -42,4 +23,6 @@ warn_unused_ignores = True
|
||||
warn_return_any = True
|
||||
warn_unreachable = True
|
||||
warn_no_return = False
|
||||
# check_untyped_defs = True
|
||||
warn_unused_configs = True
|
||||
check_untyped_defs = True
|
||||
# disallow_untyped_defs = True
|
||||
|
||||
Reference in New Issue
Block a user