File tree Expand file tree Collapse file tree 2 files changed +11
-66
lines changed Expand file tree Collapse file tree 2 files changed +11
-66
lines changed Original file line number Diff line number Diff line change 2
2
requires = [" setuptools >= 50" , " wheel" ]
3
3
build-backend = " setuptools.build_meta"
4
4
5
- [tool .setuptools_scm ]
6
5
7
6
[tool .pytest .ini_options ]
7
+
8
8
norecursedirs = [
9
9
" .git" ,
10
- " bin" ,
11
10
" dist" ,
12
11
" build" ,
13
12
" _build" ,
14
- " dist" ,
15
- " etc" ,
16
- " local" ,
17
- " ci" ,
18
13
" docs" ,
19
- " man" ,
20
- " share" ,
21
- " samples" ,
22
14
" .cache" ,
23
15
" .settings" ,
24
- " Include" ,
25
- " include" ,
26
- " Lib" ,
27
- " lib" ,
28
- " lib64" ,
29
- " Lib64" ,
30
- " Scripts" ,
31
16
" thirdparty" ,
32
17
" tmp" ,
33
- " tests/data" ,
34
- " .eggs"
18
+ " venv" ,
19
+ " */tests/test_data" ,
20
+ " .eggs" ,
21
+ " src/*/data" ,
22
+ " tests/*/data"
35
23
]
36
24
37
25
python_files = " *.py"
@@ -41,7 +29,7 @@ python_functions="test"
41
29
42
30
addopts = [
43
31
" -rfExXw" ,
44
- " --strict" ,
32
+ " --strict-markers " ,
45
33
" --doctest-modules"
46
34
]
47
35
@@ -50,3 +38,7 @@ profile = "black"
50
38
line_length = 100
51
39
force_single_line = true
52
40
skip_gitignore = true
41
+
42
+
43
+
44
+
Original file line number Diff line number Diff line change @@ -9,50 +9,3 @@ pypi_release = clean --all sdist bdist_wheel register upload
9
9
10
10
release = clean --all sdist bdist_wheel
11
11
12
-
13
- [tool:pytest]
14
- DJANGO_SETTINGS_MODULE = vulnerablecode.settings
15
-
16
- markers =
17
- webtest: marker for tests which require internet connection.
18
-
19
- testpaths =
20
- vulnerabilities
21
- vulnerablecode
22
-
23
- norecursedirs =
24
- .git
25
- bin
26
- dist
27
- build
28
- _build
29
- dist
30
- local
31
- ci
32
- docs
33
- man
34
- share
35
- samples
36
- .cache
37
- .settings
38
- Include
39
- include
40
- Lib
41
- lib
42
- lib64
43
- Scripts
44
- thirdparty
45
- tmp
46
- vulnerabilities/tests/test_data
47
-
48
- python_files = *.py
49
-
50
- python_classes =Test
51
- python_functions =test
52
-
53
- addopts =
54
- -rfEsxXw
55
- --strict
56
- --ignore setup.py
57
- --ignore vulnerabilities/lib_oval.py
58
- --doctest-modules
You can’t perform that action at this time.
0 commit comments