File tree 2 files changed +4
-16
lines changed
2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/ambv/black
3
- rev : 22.8 .0
3
+ rev : 22.10 .0
4
4
hooks :
5
5
- id : black
6
6
- repo : https://github.com/pycqa/isort
13
13
hooks :
14
14
- id : flake8
15
15
- repo : https://github.com/pre-commit/mirrors-mypy
16
- rev : v0.981
16
+ rev : v0.991
17
17
hooks :
18
18
- id : mypy
Original file line number Diff line number Diff line change @@ -47,27 +47,16 @@ per-file-ignores =
47
47
__init__.py: F401, F403
48
48
49
49
[mypy]
50
- show_error_codes = True
50
+ # Import discovery
51
+ namespace_packages = False
51
52
ignore_missing_imports = True
52
53
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
-
61
54
# Untyped definitions and calls
62
55
disallow_untyped_calls = True
63
56
disallow_untyped_defs = True
64
57
disallow_incomplete_defs = True
65
58
disallow_untyped_decorators = True
66
59
67
- # None and Optional handling
68
- no_implicit_optional = True
69
- strict_optional = True
70
-
71
60
# Configuring warnings
72
61
warn_redundant_casts = True
73
62
warn_unused_ignores = True
@@ -76,7 +65,6 @@ warn_return_any = True
76
65
warn_unreachable = True
77
66
78
67
# Miscellaneous strictness flags
79
- implicit_reexport = True
80
68
strict_equality = True
81
69
82
70
[mypy-tests.*]
You can’t perform that action at this time.
0 commit comments