Skip to content

Commit

Permalink
Let mypy ignore distutils
Browse files Browse the repository at this point in the history
I don't know if there are any type hints still available anywhere; it's
probably a mistake to continue using distutils just for text parsing
that setuptools normally does.
  • Loading branch information
mgedmin committed May 3, 2024
1 parent 45359ca commit f5c7cdb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ ignore = E241,E501,E261,E126,E127,E128,E302,W503
[mypy-setuptools.command.egg_info]
ignore_missing_imports = true

# distutils got removed from Python 3.12, setuptools ships it now but w/o hints
[mypy-distutils.text_file]
ignore_missing_imports = true

# zest.releaser has no type hints
[mypy-zest.releaser.utils]
ignore_missing_imports = true
Expand Down

0 comments on commit f5c7cdb

Please sign in to comment.