Skip to content

Commit 0ef914d

Browse files
committed
Re-organize mypy errors
1 parent 603b94e commit 0ef914d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

mypy.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,22 @@ disable_error_code =
1616

1717
# local
1818

19+
# Code that is too dynamic using variable command names;
20+
# and code that uses platform checks mypy doesn't understand
21+
attr-defined,
22+
# These reveal issues in distutils/_modified.py that should be fixed
23+
return-value,
24+
type-var,
1925
# TODO: Resolve and re-enable these gradually
2026
operator,
21-
attr-defined,
2227
arg-type,
2328
assignment,
2429
call-overload,
25-
return-value,
2630
index,
27-
type-var,
2831
func-returns-value,
2932
union-attr,
3033
str-bytes-safe,
3134
misc,
32-
has-type,
3335

3436
# stdlib's test module is not typed on typeshed
3537
[mypy-test.*]

0 commit comments

Comments
 (0)