2017-05-15 11:06:33 +02:00
|
|
|
[isort]
|
|
|
|
skip =
|
2019-08-27 10:36:17 +02:00
|
|
|
./build,
|
2019-07-30 13:26:20 +02:00
|
|
|
.nox,
|
2018-06-25 13:30:40 +02:00
|
|
|
.tox,
|
|
|
|
.scratch,
|
|
|
|
_vendor,
|
|
|
|
data
|
2019-07-22 06:45:27 +02:00
|
|
|
multi_line_output = 3
|
2017-05-16 12:09:37 +02:00
|
|
|
known_third_party =
|
|
|
|
pip._vendor
|
|
|
|
known_first_party =
|
|
|
|
pip
|
|
|
|
tests
|
|
|
|
default_section = THIRDPARTY
|
2017-11-21 08:50:32 +01:00
|
|
|
include_trailing_comma = true
|
2017-05-15 11:06:33 +02:00
|
|
|
|
2017-07-05 19:37:24 +02:00
|
|
|
[flake8]
|
2018-06-25 13:30:40 +02:00
|
|
|
exclude =
|
2019-08-27 10:36:17 +02:00
|
|
|
./build,
|
2019-07-30 13:26:20 +02:00
|
|
|
.nox,
|
2018-06-25 13:30:40 +02:00
|
|
|
.tox,
|
|
|
|
.scratch,
|
|
|
|
_vendor,
|
|
|
|
data
|
2020-06-04 23:10:49 +02:00
|
|
|
per-file-ignores =
|
|
|
|
# B011: Do not call assert False since python -O removes these calls
|
|
|
|
tests/*: B011
|
2020-06-05 22:48:50 +02:00
|
|
|
# TODO: Remove IOError from except (OSError, IOError) blocks in
|
|
|
|
# these files when Python 2 is removed.
|
|
|
|
# In Python 3, IOError have been merged into OSError
|
|
|
|
# https://github.com/PyCQA/flake8-bugbear/issues/110
|
|
|
|
src/pip/_internal/utils/filesystem.py: B014
|
|
|
|
src/pip/_internal/network/cache.py: B014
|
|
|
|
src/pip/_internal/utils/misc.py: B014
|
2017-06-14 08:14:47 +02:00
|
|
|
[mypy]
|
|
|
|
follow_imports = silent
|
|
|
|
ignore_missing_imports = True
|
2019-09-28 20:12:49 +02:00
|
|
|
disallow_untyped_defs = True
|
2019-11-12 19:08:48 +01:00
|
|
|
disallow_any_generics = True
|
2019-07-03 12:55:37 +02:00
|
|
|
|
2017-06-14 08:14:47 +02:00
|
|
|
[mypy-pip/_vendor/*]
|
|
|
|
follow_imports = skip
|
|
|
|
ignore_errors = True
|
|
|
|
|
2017-03-20 16:45:29 +01:00
|
|
|
[tool:pytest]
|
2017-10-07 05:07:06 +02:00
|
|
|
addopts = --ignore src/pip/_vendor --ignore tests/tests_cache -r aR
|
2020-05-21 05:57:46 +02:00
|
|
|
markers =
|
2020-05-21 16:58:43 +02:00
|
|
|
network: tests that need network
|
2020-05-21 05:57:46 +02:00
|
|
|
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
|
2020-05-21 16:58:43 +02:00
|
|
|
fails_on_new_resolver: Does not yet work on the new resolver
|
2013-08-20 12:39:56 +02:00
|
|
|
|
2015-10-02 02:26:59 +02:00
|
|
|
[bdist_wheel]
|
2017-10-20 10:10:34 +02:00
|
|
|
universal = 1
|
|
|
|
|
|
|
|
[metadata]
|
|
|
|
license_file = LICENSE.txt
|