Skip to content

Commit f0f9c50

Browse files
hroncokfrenzymadness
authored andcommitted
Add a [test] extra with test deps and use it from tox.ini
That way, we can avoid a dependency on tox in Fedora+ELN just to read the dependency.
1 parent 1addd9d commit f0f9c50

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,6 @@ install_requires =
3131
[options.entry_points]
3232
console_scripts =
3333
marshalparser = marshalparser.marshalparser:main
34+
35+
[options.extras_require]
36+
test = pytest>=6

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ isolated_build = True
66
commands =
77
python -m platform
88
pytest {posargs}
9-
deps =
10-
pytest>=6
9+
extras =
10+
test
1111

1212
[testenv:black]
1313
deps=black

0 commit comments

Comments
 (0)