Skip to content

Commit 374a610

Browse files
committed
Update setup to better handle py.test
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 0a0f0f3 commit 374a610

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

setup.cfg

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,41 @@ universal = 1
33

44
[metadata]
55
license_file = mit.LICENSE
6+
7+
[aliases]
8+
release = clean --all sdist --formats=bztar,zip bdist_wheel
9+
10+
[tool:pytest]
11+
norecursedirs =
12+
.git
13+
tmp
14+
dist
15+
build
16+
_build
17+
local
18+
ci
19+
docs
20+
man
21+
share
22+
samples
23+
.cache
24+
.settings
25+
Include
26+
include
27+
Lib
28+
lib
29+
Scripts
30+
thirdparty
31+
tmp
32+
src/packageurl/contrib
33+
34+
python_files = *.py
35+
36+
python_classes=Test
37+
python_functions=test
38+
39+
addopts =
40+
-rfEsxXw
41+
--strict
42+
--ignore setup.py
43+
--doctest-modules

0 commit comments

Comments
 (0)