general: update mypy config, seems that logs of type: ignore aren't necessary anymore
This commit is contained in:
parent
8fc4951c57
commit
fe2c99f037
52 changed files with 142 additions and 105 deletions
12
mypy.ini
12
mypy.ini
|
@ -1,9 +1,19 @@
|
|||
[mypy]
|
||||
namespace_packages = True
|
||||
pretty = True
|
||||
show_error_context = True
|
||||
show_error_codes = True
|
||||
show_column_numbers = True
|
||||
show_error_end = True
|
||||
warn_unused_ignores = True
|
||||
check_untyped_defs = True
|
||||
namespace_packages = True
|
||||
enable_error_code = possibly-undefined
|
||||
strict_equality = True
|
||||
|
||||
# a bit annoying, it has optional ipython import which should be ignored in mypy-core configuration..
|
||||
[mypy-my.core.__main__]
|
||||
warn_unused_ignores = False
|
||||
|
||||
# todo ok, maybe it wasn't such a good idea..
|
||||
# mainly because then tox picks it up and running against the user config, not the repository config
|
||||
# mypy_path=~/.config/my
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue