summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2021-08-21 14:32:45 +0200
committerGitHub <noreply@github.com>2021-08-21 14:32:45 +0200
commit5150d89c0dbd12f9cf8b9a4fe60e7c265c55531d (patch)
tree8d6ba1cf966bb9ee074a32f34888451f7792eb63
parenta3daf44580302dbc8b161ff5428430d8f205b514 (diff)
downloadpylint-git-5150d89c0dbd12f9cf8b9a4fe60e7c265c55531d.tar.gz
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 2052d0a96946ac086430b87dfd9e29c8c43721f9. * Revert "Update ci workflow" This reverts commit a0f8174b29e972b1665655a1e29517e3bd7bc184. * Add platformdirs as additional dependency
-rw-r--r--.pre-commit-config.yaml3
-rw-r--r--setup.cfg3
2 files changed, 2 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9966b4d0f..c4d1088b6 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 ae3eb47f7..7ee763a59 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