Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a92a51d

Browse filesBrowse files
Update pytest config (#126)
1 parent 30719df commit a92a51d
Copy full SHA for a92a51d

File tree

Expand file treeCollapse file tree

1 file changed

+10
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+10
-3
lines changed

‎pyproject.toml

Copy file name to clipboardExpand all lines: pyproject.toml
+10-3Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,26 @@ dependencies = [
2525
]
2626

2727
[project.optional-dependencies]
28-
test = ["pytest >= 7.4", "pytest-cov >= 4.1"]
28+
test = ["pytest >= 8.0", "pytest-cov >= 5.0"]
2929
lint = ["pre-commit == 3.7.1"]
3030
dev = ["changelist == 0.5"]
3131

3232
[project.urls]
3333
Home = "https://scientific-python.org/specs/spec-0001/"
3434
Source = "https://github.com/scientific-python/lazy-loader"
3535

36+
[tool.setuptools.dynamic.version]
37+
attr = 'lazy_loader.__version__'
38+
3639
[tool.changelist]
3740
ignored_user_logins = ["dependabot[bot]", "pre-commit-ci[bot]", "web-flow"]
3841

39-
[tool.setuptools.dynamic.version]
40-
attr = 'lazy_loader.__version__'
42+
[tool.pytest.ini_options]
43+
minversion = "8.0"
44+
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
45+
xfail_strict = true
46+
filterwarnings = ["error"]
47+
log_cli_level = "info"
4148

4249
[tool.ruff]
4350
exclude = [

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.