File: setup.cfg

package info (click to toggle)
python-pip 23.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,552 kB
  • sloc: python: 131,263; sh: 75; makefile: 17
file content (95 lines) | stat: -rw-r--r-- 1,556 bytes parent folder | download
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
88
89
90
91
92
93
94
95
[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,
	B019,
	B020,
per-file-ignores = 
	noxfile.py: G
	tests/*: B011

[mypy]
mypy_path = $MYPY_CONFIG_FILE_DIR/src
ignore_missing_imports = True
disallow_untyped_defs = True
disallow_any_generics = True
warn_unused_ignores = True
no_implicit_optional = True

[mypy-pip._vendor.*]
ignore_errors = True

[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

[tool:pytest]
addopts = --ignore src/pip/_vendor --ignore tests/tests_cache -r aR --color=yes
xfail_strict = True
markers = 
	network: tests that need network
	incompatible_with_sysconfig
	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
	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 TYPE_CHECKING

[metadata]
license_file = LICENSE.txt

[egg_info]
tag_build = 
tag_date = 0