Skip to content

Commit

Permalink
Updated mypy checks (#4889)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
cdce8p committed Aug 21, 2021
1 parent a3daf44 commit 5150d89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Expand Up @@ -83,9 +83,6 @@ src_paths = pylint
[mypy]
scripts_are_modules = True
[mypy-platformdirs]
ignore_missing_imports = True
[mypy-astroid.*]
ignore_missing_imports = True
Expand Down

0 comments on commit 5150d89

Please sign in to comment.