1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
[isort]
profile = black
skip =
./build,
.nox,
.tox,
.scratch,
_vendor,
data
known_third_party =
pip._vendor
[flake8]
max-line-length = 88
exclude =
./build,
.nox,
.tox,
.scratch,
_vendor,
data
enable-extensions = G
extend-ignore =
G200, G202,
E203,
per-file-ignores =
noxfile.py: G
tests/*: B011
src/pip/_internal/utils/filesystem.py: B014
src/pip/_internal/network/cache.py: B014
src/pip/_internal/utils/misc.py: B014
[mypy]
follow_imports = silent
ignore_missing_imports = True
disallow_untyped_defs = True
disallow_any_generics = True
[mypy-pip/_vendor/*]
follow_imports = skip
ignore_errors = True
[tool:pytest]
addopts = --ignore src/pip/_vendor --ignore tests/tests_cache -r aR
markers =
network: tests that need network
incompatible_with_test_venv
incompatible_with_venv
no_auto_tempdir_manager
unit: unit tests
integration: integration tests
bzr: VCS: Bazaar
svn: VCS: Subversion
mercurial: VCS: Mercurial
git: VCS: git
yaml: yaml based tests
search: tests for 'pip search'
[coverage:run]
branch = True
omit = */_vendor/*
data_file = ${COVERAGE_OUTPUT_DIR}/.coverage
parallel = True
disable_warnings = module-not-measured
[coverage:paths]
source0 =
src/pip/
*/site-packages/pip/
*/pip/src/pip/
[coverage:report]
exclude_lines =
pragma: no cover
if MYPY_CHECK_RUNNING
${PIP_CI_COVERAGE_EXCLUDES}
[bdist_wheel]
universal = 1
[metadata]
license_file = LICENSE.txt
[egg_info]
tag_build =
tag_date = 0
|