Skip to content

Commit 2e74c3f

Browse files
committed
Add some scientific Python repo recommendatiosn
1 parent dc326e7 commit 2e74c3f

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/test_and_deploy.yml

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
workflow_dispatch:
1313
merge_group:
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1519
jobs:
1620
test:
1721
name: ${{ matrix.platform }} py${{ matrix.python-version }}

pyproject.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "setuptools_scm"]
2+
requires = ["setuptools", "setuptools_scm"]
33
build-backend = "setuptools.build_meta"
44

55
[tool.setuptools_scm]
@@ -14,7 +14,11 @@ filterwarnings = [
1414
"ignore:`np.bool8` is a deprecated alias for `np.bool_`:DeprecationWarning",
1515
]
1616
qt_api = "pyqt6"
17-
addopts = "--mpl --mpl-baseline-relative"
17+
addopts = ["--mpl", "--mpl-baseline-relative", "--strict-config", "--strict-markers", "-ra"]
18+
minversion = "7"
19+
testpaths = ["src/napari_matplotlib/tests"]
20+
log_cli_level = "INFO"
21+
xfail_strict = true
1822

1923
[tool.black]
2024
line-length = 79

0 commit comments

Comments
 (0)