File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -225,18 +225,22 @@ lint.flake8-tidy-imports.ban-relative-imports = "all"
225225lint.isort.required-imports = [ " from __future__ import annotations" ]
226226
227227[tool .pytest ]
228- ini_options.filterwarnings = [
228+ strict = true
229+ filterwarnings = [
229230 " error::numba.NumbaPerformanceWarning" ,
230231 " ignore::UserWarning" ,
231232 " ignore::anndata.OldFormatWarning" ,
232233 " ignore:.*pkg_resources:DeprecationWarning" ,
233234]
234- ini_options.python_files = " test_*.py"
235- ini_options.testpaths = [ " tests/" ]
236- ini_options.xfail_strict = true
237- ini_options.addopts = [
235+ python_files = [ " test_*.py" ]
236+ testpaths = [ " tests/" ]
237+ addopts = [
238238 " --ignore=docs" ,
239239]
240+ markers = [
241+ " internet: tests that require internet" ,
242+ " gpu: tests that require GPU" ,
243+ ]
240244
241245[tool .coverage ]
242246run.branch = true
You can’t perform that action at this time.
0 commit comments