-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.cfg
117 lines (104 loc) · 2.99 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[metadata]
name = tox-gh-actions
description = Seamless integration of tox into GitHub Actions
long_description = file: README.md
long_description_content_type = text/markdown
keywords = virtual, environments, isolated, testing
maintainer = Yusuke Miyazaki
maintainer_email = [email protected]
author = Yusuke Miyazaki
author_email = [email protected]
url = https://github.com/ymyzk/tox-gh-actions
project_urls =
Source=https://github.com/ymyzk/tox-gh-actions
Tracker=https://github.com/ymyzk/tox-gh-actions/issues
platforms = any
license = MIT
license_file = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Framework :: tox
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Testing
Topic :: Software Development :: Libraries
Topic :: Utilities
Typing :: Typed
[options]
packages = find:
package_dir =
=src
zip_safe = True
python_requires = >=3.7
install_requires =
tox >= 4, <5
[options.packages.find]
where = src
[options.entry_points]
tox =
tox_gh_actions=tox_gh_actions.plugin
[options.extras_require]
testing =
black; platform_python_implementation=='CPython'
devpi-process
# flake8 6.x or later requires Python 3.8 or later.
# tox 4.x requires a newer version of importlib-metadata
# but flake8 5.x requires an older version of it.
flake8 >=6, <7; python_version>='3.8'
mypy; platform_python_implementation=='CPython'
pytest >=7, <8
pytest-cov >=3, <4
pytest-mock >=3, <4
pytest-randomly >=3
[options.package_data]
tox_gh_actions =
py.typed
[bdist_wheel]
universal = 1
[tox:tox]
minversion = 4.0
isolated_build = true
skip_missing_interpreters = true
envlist =
black
flake8
mypy
{py37,py38,py39,py310,py311,pypy3}-toxlatest
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311, black, flake8, mypy
3.12: py312
pypy-3: pypy3
[testenv]
description = run test suite under {basepython}
extras = testing
commands = pytest --cov=tox_gh_actions --cov-branch --cov-report=term --cov-report=xml tests/ {posargs}
[testenv:black]
description = run black with check-only under {basepython}
commands = black --check src/ tests/ setup.py
extras = testing
[testenv:flake8]
description = run flake8 under {basepython}
commands = flake8 src/ tests/ setup.py
extras = testing
[testenv:mypy]
description = run mypy under {basepython}
commands = mypy src/ tests/
extras = testing
[flake8]
max-line-length = 88