-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.cfg
88 lines (77 loc) · 1.57 KB
/
setup.cfg
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
[metadata]
name = pessimist
description = Ensures your dependencies work with minimum version
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
url = https://github.com/python-packaging/pessimist/
author = Tim Hatch
author_email = [email protected]
[options]
packages = pessimist
setup_requires =
setuptools_scm >= 8
setuptools >= 65
python_requires = >=3.10
include_package_data = true
install_requires =
volatile>=1.0
toml>=0.10.2
pep517>=0.6.0
honesty>=0.3.0a3
highlighter>=0.2.0
setuptools>=65
click>=7.1.2
packaging>=22.0
[options.extras_require]
dev =
black == 23.12.1
checkdeps == 0.9.0
flake8 == 7.0.0
mypy == 1.8.0
tox == 4.12.1
twine == 4.0.2
ufmt == 2.3.0
usort == 1.0.7
wheel == 0.42.0
test =
coverage >= 6
[options.entry_points]
console_scripts =
pessimist = pessimist.cli:main
[check]
metadata = true
strict = true
[coverage:run]
branch = True
include = pessimist/*
omit = pessimist/tests/*
[coverage:report]
fail_under = 87
precision = 1
show_missing = True
skip_covered = True
[mypy]
ignore_missing_imports = True
install_types = True
[tox:tox]
envlist = py{310,311,312}, coverage
[testenv]
deps = .[test]
allowlist_externals = make
commands =
make test
setenv =
COVERAGE_FILE={toxworkdir}/.coverage.{envname}
[testenv:coverage]
deps = coverage
setenv =
COVERAGE_FILE={toxworkdir}/.coverage
commands =
coverage combine
coverage report
depends =
py{310,311,312}
[flake8]
ignore = E203, E231, E266, E302, E501, W503
max-line-length = 88