ci: update mypy config and make ruff config more consistent with other projects
This commit is contained in:
parent
d58453410c
commit
71fdeca5e1
13 changed files with 32 additions and 38 deletions
9
mypy.ini
9
mypy.ini
|
@ -1,18 +1,13 @@
|
|||
[mypy]
|
||||
namespace_packages = True
|
||||
pretty = True
|
||||
show_error_context = True
|
||||
show_error_codes = True
|
||||
show_column_numbers = True
|
||||
show_error_end = True
|
||||
warn_redundant_casts = True
|
||||
warn_unused_ignores = True
|
||||
check_untyped_defs = 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
|
||||
enable_error_code = possibly-undefined
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue