Skip to content

Commit 7bba5f7

Browse files
style: pre-commit fixes
1 parent 6d59d5c commit 7bba5f7

2 files changed

Lines changed: 50 additions & 50 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ repos:
129129
- "--command"
130130
- "ruff format"
131131
additional_dependencies:
132-
- ruff==0.15.5
132+
- ruff==0.15.6
133133

134134
# * Spelling
135135
# ** typos

pyproject.toml

Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -165,55 +165,6 @@ CPY = "CPY"
165165
# only check file name for notebooks. Use nbaq for contents.
166166
check-file = false
167167

168-
# * Testing --------------------------------------------------------------------
169-
[tool.pytest.ini_options]
170-
addopts = [
171-
"--cov-config=pyproject.toml",
172-
"--doctest-glob=*.md",
173-
"--doctest-modules",
174-
"--pyargs",
175-
"--strict-config",
176-
"--strict-markers",
177-
"-ra",
178-
]
179-
testpaths = [
180-
"README.md",
181-
"pyproject2conda",
182-
"tests",
183-
]
184-
# options
185-
filterwarnings = [ "error" ]
186-
log_cli_level = "INFO"
187-
log_level = "INFO"
188-
minversion = "8"
189-
strict_xfail = "true"
190-
191-
[tool.coverage]
192-
run.branch = true
193-
run.source = [
194-
"pyproject2conda",
195-
]
196-
paths.source = [
197-
"src/",
198-
# needed for testing source if not editable install
199-
".nox/**/site-packages/",
200-
"*/.nox/**/site-packages",
201-
"*/src",
202-
]
203-
report.exclude_also = [
204-
"@overload",
205-
"if TYPE_CHECKING:",
206-
]
207-
report.include = [
208-
"src/*",
209-
]
210-
report.omit = [
211-
"*/__main__.py",
212-
"*/_typing.py",
213-
"*/vendored/*",
214-
]
215-
report.show_missing = true
216-
217168
# * typecheck ---------------------------------------------------------------------
218169
[tool.mypy]
219170
exclude = [
@@ -302,6 +253,55 @@ reportUnusedCallResult = false
302253
analysis.respect-type-ignore-comments = false
303254
src.include = [ "src", "tests" ]
304255

256+
# * Testing --------------------------------------------------------------------
257+
[tool.pytest.ini_options]
258+
addopts = [
259+
"--cov-config=pyproject.toml",
260+
"--doctest-glob=*.md",
261+
"--doctest-modules",
262+
"--pyargs",
263+
"--strict-config",
264+
"--strict-markers",
265+
"-ra",
266+
]
267+
testpaths = [
268+
"README.md",
269+
"pyproject2conda",
270+
"tests",
271+
]
272+
# options
273+
filterwarnings = [ "error" ]
274+
log_cli_level = "INFO"
275+
log_level = "INFO"
276+
minversion = "8"
277+
strict_xfail = "true"
278+
279+
[tool.coverage]
280+
run.branch = true
281+
run.source = [
282+
"pyproject2conda",
283+
]
284+
paths.source = [
285+
"src/",
286+
# needed for testing source if not editable install
287+
".nox/**/site-packages/",
288+
"*/.nox/**/site-packages",
289+
"*/src",
290+
]
291+
report.exclude_also = [
292+
"@overload",
293+
"if TYPE_CHECKING:",
294+
]
295+
report.include = [
296+
"src/*",
297+
]
298+
report.omit = [
299+
"*/__main__.py",
300+
"*/_typing.py",
301+
"*/vendored/*",
302+
]
303+
report.show_missing = true
304+
305305
[tool.pytype]
306306
inputs = [
307307
"src",

0 commit comments

Comments
 (0)