Skip to content

Commit f38d005

Browse files
authored
Merge pull request #1212 from IntelPython/remove/setup.cfg
Move versioneer and pytest configs into pyproject.toml
2 parents 7315aef + 380f0ba commit f38d005

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
paths:
88
- 'numba_dpex/**'
99
- environment/coverage.yml
10+
- pyproject.toml
1011

1112
jobs:
1213
main:
@@ -52,7 +53,7 @@ jobs:
5253
5354
- name: Run tests with coverage
5455
run: |
55-
pytest -q -ra --disable-warnings --cov --cov-report term-missing --pyargs numba_dpex -vv
56+
pytest -q --cov --cov-report term-missing --pyargs numba_dpex
5657
5758
- name: Install coveralls
5859
shell: bash -l {0}

pyproject.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ exclude_lines = [
4343
VCS = "git"
4444
style = "pep440"
4545
versionfile_source = "numba_dpex/_version.py"
46+
versionfile_build = "numba_dpex/_version.py"
4647
parentdir_prefix = ""
4748

4849
[tool.pylint]
@@ -60,3 +61,19 @@ requires = [
6061
"versioneer-518"
6162
]
6263
build-backend = "setuptools.build_meta"
64+
65+
[tool.pytest.ini_options]
66+
minversion = "6.0"
67+
norecursedirs= [
68+
".*", "*.egg*", "build", "dist", "conda-recipe",
69+
]
70+
xfail_strict = true
71+
addopts = [
72+
"--disable-warnings",
73+
"--strict",
74+
"--durations=20",
75+
"-ra -vv",
76+
]
77+
testpaths = [
78+
"numba_dpex/tests"
79+
]

setup.cfg

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)