Implement proper editor integration for mypy

This commit is contained in:
Kovid Goyal
2020-03-08 14:39:46 +05:30
parent d84cff0baf
commit 7057bc663e
6 changed files with 37 additions and 42 deletions

View File

@@ -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