summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-21 19:19:56 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-06-21 20:16:51 +0200
commit6a18c1018c305148fde423e167ff783754b2be75 (patch)
tree04aa3709a4d00d84d90cf456c2361968d6e74c02
parent76b96a1ff6cc45d7316a4bfef540d982f8a2e8eb (diff)
downloadastroid-git-6a18c1018c305148fde423e167ff783754b2be75.tar.gz
Add additional_dependencies for existing package stubs
See https://github.com/PyCQA/astroid/pull/1068/files\#r655561356
-rw-r--r--.pre-commit-config.yaml9
-rw-r--r--setup.cfg12
2 files changed, 8 insertions, 13 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 35d492b0..0363372e 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -71,7 +71,14 @@ repos:
types: [python]
args: []
require_serial: true
- additional_dependencies: ["types-pkg_resources==0.1.2"]
+ additional_dependencies:
+ [
+ "types-pkg_resources==0.1.2",
+ "types-six",
+ "types-attrs",
+ "types-python-dateutil",
+ "types-typed-ast",
+ ]
exclude: tests/testdata| # exclude everything, we're not ready
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.3.1
diff --git a/setup.cfg b/setup.cfg
index 22274668..bc464c55 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -68,18 +68,6 @@ scripts_are_modules = True
[mypy-setuptools]
ignore_missing_imports = True
-[mypy-typed_ast]
-ignore_missing_imports = True
-
-[mypy-dateutil]
-ignore_missing_imports = True
-
-[mypy-attr]
-ignore_missing_imports = True
-
-[mypy-six]
-ignore_missing_imports = True
-
[mypy-pytest]
ignore_missing_imports = True