File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,9 +100,7 @@ doc = [
100100line-length = 120
101101src = [ " src" ]
102102extend-include = [ " *.ipynb" ]
103-
104103format.docstring-code-format = true
105-
106104lint.select = [
107105 " B" , # flake8-bugbear
108106 " BLE" , # flake8-blind-except
@@ -136,19 +134,19 @@ lint.per-file-ignores."docs/*" = [ "I" ]
136134lint.per-file-ignores."tests/*" = [ " D" ]
137135lint.pydocstyle.convention = " numpy"
138136
139- [tool .pytest .ini_options ]
140- testpaths = [ " tests" ]
141- xfail_strict = true
142- addopts = [
137+ [tool .pytest ]
138+ ini_options.testpaths = [ " tests" ]
139+ ini_options.addopts = [
143140 " --import-mode=importlib" , # allow using test files with same name
144141]
142+ ini_options.xfail_strict = true
145143
146- [tool .coverage .run ]
147- source = [ " multigrate" ]
148- patch = [ " subprocess" ]
149- omit = [
144+ [tool .coverage ]
145+ run.omit = [
150146 " **/test_*.py" ,
151147]
148+ run.patch = [ " subprocess" ]
149+ run.source = [ " multigrate" ]
152150
153151[tool .cruft ]
154152skip = [
You can’t perform that action at this time.
0 commit comments