Skip to content

Commit

Permalink
Merge pull request #1212 from IntelPython/remove/setup.cfg
Browse files Browse the repository at this point in the history
Move versioneer and pytest configs into pyproject.toml
  • Loading branch information
ZzEeKkAa authored Nov 14, 2023
2 parents 7315aef + 380f0ba commit f38d005
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 23 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths:
- 'numba_dpex/**'
- environment/coverage.yml
- pyproject.toml

jobs:
main:
Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:
- name: Run tests with coverage
run: |
pytest -q -ra --disable-warnings --cov --cov-report term-missing --pyargs numba_dpex -vv
pytest -q --cov --cov-report term-missing --pyargs numba_dpex
- name: Install coveralls
shell: bash -l {0}
Expand Down
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ exclude_lines = [
VCS = "git"
style = "pep440"
versionfile_source = "numba_dpex/_version.py"
versionfile_build = "numba_dpex/_version.py"
parentdir_prefix = ""

[tool.pylint]
Expand All @@ -60,3 +61,19 @@ requires = [
"versioneer-518"
]
build-backend = "setuptools.build_meta"

[tool.pytest.ini_options]
minversion = "6.0"
norecursedirs= [
".*", "*.egg*", "build", "dist", "conda-recipe",
]
xfail_strict = true
addopts = [
"--disable-warnings",
"--strict",
"--durations=20",
"-ra -vv",
]
testpaths = [
"numba_dpex/tests"
]
22 changes: 0 additions & 22 deletions setup.cfg

This file was deleted.

0 comments on commit f38d005

Please sign in to comment.