Skip to content

Commit d9a9e29

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 02217d1 commit d9a9e29

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,7 @@ doc = [
100100
line-length = 120
101101
src = [ "src" ]
102102
extend-include = [ "*.ipynb" ]
103-
104103
format.docstring-code-format = true
105-
106104
lint.select = [
107105
"B", # flake8-bugbear
108106
"BLE", # flake8-blind-except
@@ -136,19 +134,19 @@ lint.per-file-ignores."docs/*" = [ "I" ]
136134
lint.per-file-ignores."tests/*" = [ "D" ]
137135
lint.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]
154152
skip = [

0 commit comments

Comments
 (0)