Skip to content

Commit 5150d89

Browse files
authored
Updated mypy checks (#4889)
* Remove typing ignore for platformdirs * Use local environment for mypy pre-commit * Update ci workflow * Revert "Use local environment for mypy pre-commit" This reverts commit 2052d0a. * Revert "Update ci workflow" This reverts commit a0f8174. * Add platformdirs as additional dependency
1 parent a3daf44 commit 5150d89

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.pre-commit-config.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ repos:
8484
types: [python]
8585
args: []
8686
require_serial: true
87-
additional_dependencies: ["types-pkg_resources==0.1.3", "types-toml==0.1.3"]
87+
additional_dependencies:
88+
["platformdirs==2.2.0", "types-pkg_resources==0.1.3", "types-toml==0.1.3"]
8889
exclude: tests/functional/|tests/input|tests(/.*)*/data|tests/regrtest_data/|tests/data/|tests(/.*)+/conftest.py|doc/|bin/
8990
- repo: https://github.com/pre-commit/mirrors-prettier
9091
rev: v2.3.2

setup.cfg

-3
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ src_paths = pylint
8383
[mypy]
8484
scripts_are_modules = True
8585
86-
[mypy-platformdirs]
87-
ignore_missing_imports = True
88-
8986
[mypy-astroid.*]
9087
ignore_missing_imports = True
9188

0 commit comments

Comments
 (0)