File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/ambv/black
3- rev : 22.8 .0
3+ rev : 22.10 .0
44 hooks :
55 - id : black
66 - repo : https://github.com/pycqa/isort
1313 hooks :
1414 - id : flake8
1515 - repo : https://github.com/pre-commit/mirrors-mypy
16- rev : v0.981
16+ rev : v0.991
1717 hooks :
1818 - id : mypy
Original file line number Diff line number Diff line change @@ -47,27 +47,16 @@ per-file-ignores =
4747 __init__.py: F401, F403
4848
4949[mypy]
50- show_error_codes = True
50+ # Import discovery
51+ namespace_packages = False
5152ignore_missing_imports = True
5253
53- # Disallow dynamic typing
54- # disallow_any_decorated = True
55- # disallow_any_unimported = True
56- # disallow_any_expr = True
57- # disallow_any_explicit = True
58- disallow_any_generics = True
59- # disallow_subclassing_any = True
60-
6154# Untyped definitions and calls
6255disallow_untyped_calls = True
6356disallow_untyped_defs = True
6457disallow_incomplete_defs = True
6558disallow_untyped_decorators = True
6659
67- # None and Optional handling
68- no_implicit_optional = True
69- strict_optional = True
70-
7160# Configuring warnings
7261warn_redundant_casts = True
7362warn_unused_ignores = True
@@ -76,7 +65,6 @@ warn_return_any = True
7665warn_unreachable = True
7766
7867# Miscellaneous strictness flags
79- implicit_reexport = True
8068strict_equality = True
8169
8270[mypy-tests.*]
You can’t perform that action at this time.
0 commit comments