diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9966b4d0fb..c4d1088b6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -84,7 +84,8 @@ repos: types: [python] args: [] require_serial: true - additional_dependencies: ["types-pkg_resources==0.1.3", "types-toml==0.1.3"] + additional_dependencies: + ["platformdirs==2.2.0", "types-pkg_resources==0.1.3", "types-toml==0.1.3"] exclude: tests/functional/|tests/input|tests(/.*)*/data|tests/regrtest_data/|tests/data/|tests(/.*)+/conftest.py|doc/|bin/ - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.3.2 diff --git a/setup.cfg b/setup.cfg index ae3eb47f73..7ee763a59b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -83,9 +83,6 @@ src_paths = pylint [mypy] scripts_are_modules = True -[mypy-platformdirs] -ignore_missing_imports = True - [mypy-astroid.*] ignore_missing_imports = True