mirror of https://github.com/pypa/pip
Set follow_imports = silent
This commit is contained in:
parent
9624d0d529
commit
4807de8e73
18
setup.cfg
18
setup.cfg
|
@ -31,15 +31,29 @@ per-file-ignores =
|
|||
tests/*: B011
|
||||
|
||||
[mypy]
|
||||
follow_imports = silent
|
||||
ignore_missing_imports = True
|
||||
disallow_untyped_defs = True
|
||||
disallow_any_generics = True
|
||||
warn_unused_ignores = True
|
||||
|
||||
[mypy-pip/_vendor/*]
|
||||
follow_imports = skip
|
||||
[mypy-pip._vendor.*]
|
||||
ignore_errors = True
|
||||
|
||||
# These vendored libraries use runtime magic to populate things and don't sit
|
||||
# well with static typing out of the box. Eventually we should provide correct
|
||||
# typing information for their public interface and remove these configs.
|
||||
[mypy-pip._vendor.colorama]
|
||||
follow_imports = skip
|
||||
[mypy-pip._vendor.pkg_resources]
|
||||
follow_imports = skip
|
||||
[mypy-pip._vendor.progress.*]
|
||||
follow_imports = skip
|
||||
[mypy-pip._vendor.requests.*]
|
||||
follow_imports = skip
|
||||
[mypy-pip._vendor.retrying]
|
||||
follow_imports = skip
|
||||
|
||||
[tool:pytest]
|
||||
addopts = --ignore src/pip/_vendor --ignore tests/tests_cache -r aR
|
||||
markers =
|
||||
|
|
Loading…
Reference in New Issue