|
2 | 2 | exclude = "versioneer.py|dpctl/_version.py"
|
3 | 3 | line-length = 80
|
4 | 4 |
|
5 |
| -[tool.isort] |
6 |
| -multi_line_output = 3 |
7 |
| -include_trailing_comma = true |
8 |
| -force_grid_wrap = 0 |
9 |
| -use_parentheses = true |
10 |
| -ensure_newline_before_comments = true |
11 |
| -line_length = 80 |
12 |
| -skip = ["versioneer.py", "dpctl/_version.py"] |
| 5 | +[tool.coverage.report] |
| 6 | +omit = [ |
| 7 | + "dpctl/tests/*", |
| 8 | + "dpctl/_version.py", |
| 9 | + "*/_cython_api*/stringsource" |
| 10 | +] |
13 | 11 |
|
14 | 12 | [tool.coverage.run]
|
| 13 | +branch = true |
| 14 | +omit = [ |
| 15 | + "dpctl/tests/*", |
| 16 | + "dpctl/_version.py", |
| 17 | + "*/_cython_api*/stringsource" |
| 18 | +] |
15 | 19 | plugins = [
|
16 |
| - "Cython.Coverage" |
| 20 | + "Cython.Coverage" |
17 | 21 | ]
|
18 |
| -branch = true |
19 | 22 | source = [
|
20 |
| - "dpctl" |
21 |
| -] |
22 |
| -omit = [ |
23 |
| - "dpctl/tests/*", |
24 |
| - "dpctl/_version.py", |
25 |
| - "*/_cython_api*/stringsource", |
| 23 | + "dpctl" |
26 | 24 | ]
|
27 | 25 |
|
28 |
| -[tool.coverage.report] |
29 |
| -omit = [ |
30 |
| - "dpctl/tests/*", |
31 |
| - "dpctl/_version.py", |
32 |
| - "*/_cython_api*/stringsource", |
33 |
| -] |
| 26 | +[tool.isort] |
| 27 | +ensure_newline_before_comments = true |
| 28 | +force_grid_wrap = 0 |
| 29 | +include_trailing_comma = true |
| 30 | +line_length = 80 |
| 31 | +multi_line_output = 3 |
| 32 | +skip = ["versioneer.py", "dpctl/_version.py"] |
| 33 | +use_parentheses = true |
34 | 34 |
|
35 | 35 | [tool.pytest.ini.options]
|
| 36 | +addopts = [ |
| 37 | + "--junitxml=junit.xml", |
| 38 | + "--ignore setup.py", |
| 39 | + "--ignore run_test.py", |
| 40 | + "--cov-report term-missing", |
| 41 | + "--tb native", |
| 42 | + "--strict", |
| 43 | + "--durations=20", |
| 44 | + "-q -ra" |
| 45 | +] |
36 | 46 | markers = [
|
37 |
| - "broken_complex: mark a test that is skipped due to complex implementation issues in DPC++ compiler", |
| 47 | + "broken_complex: mark a test that is skipped due to complex implementation issues in DPC++ compiler" |
38 | 48 | ]
|
39 | 49 | minversion = "6.0"
|
40 |
| -norecursedirs= [ |
41 |
| - ".*", "*.egg*", "build", "dist", "conda-recipe", |
42 |
| -] |
43 |
| -addopts = [ |
44 |
| - "--junitxml=junit.xml", |
45 |
| - "--ignore setup.py", |
46 |
| - "--ignore run_test.py", |
47 |
| - "--cov-report term-missing", |
48 |
| - "--tb native", |
49 |
| - "--strict", |
50 |
| - "--durations=20", |
51 |
| - "-q -ra", |
| 50 | +norecursedirs = [ |
| 51 | + ".*", |
| 52 | + "*.egg*", |
| 53 | + "build", |
| 54 | + "dist", |
| 55 | + "conda-recipe" |
52 | 56 | ]
|
0 commit comments