Skip to content

Commit 405fd63

Browse files
committed
Workaround for mypy 0.800 ignoring setup.cfg
See python/mypy#9940
1 parent 1fe56c9 commit 405fd63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ ignore = E241,E501,E261,E126,E127,E128,E302,W503
1717
# E302: expected 2 blank lines, found 0
1818
# W503: line break before binary operator
1919

20+
# empty [mypy] section required for mypy 0.800, see
21+
# https://github.com/python/mypy/issues/9940
22+
[mypy]
23+
2024
# setuptools has no type hints
2125
[mypy-setuptools.command.egg_info]
2226
ignore_missing_imports = true

0 commit comments

Comments
 (0)