File tree 2 files changed +9
-12
lines changed
2 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -89,19 +89,9 @@ repos:
89
89
rev : ' v0.950'
90
90
hooks :
91
91
- id : mypy
92
+ # Use setup.cfg to match the command line.
92
93
args :
93
- - --disallow-untyped-decorators
94
- - --warn-unused-configs
95
- - --disallow-subclassing-any
96
- - --disallow-untyped-calls
97
- - --disallow-untyped-defs
98
- - --disallow-incomplete-defs
99
- - --check-untyped-defs
100
- - --no-implicit-optional
101
- - --warn-redundant-casts
102
- - --warn-unused-ignores
103
- - --warn-return-any
104
- - --pretty
94
+ - --config-file=setup.cfg
105
95
# This should match the requirements added in the WORKSPACE pip_install.
106
96
additional_dependencies :
107
97
- gql >= 2.0.0, < 3.0.0
Original file line number Diff line number Diff line change 6
6
max-line-length = 80
7
7
# E203: This warning is not PEP 8 compliant.
8
8
extend-ignore = E203
9
+
10
+ [mypy]
11
+ pretty = True
12
+ # Define flags relative to strict mode.
13
+ strict = True
14
+ # TODO: Look at updating code to fix these.
15
+ disallow_any_generics = False
You can’t perform that action at this time.
0 commit comments