Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve pytest configuration #371

Closed
nathanjmcdougall opened this issue Mar 4, 2025 · 0 comments · Fixed by #391
Closed

Improve pytest configuration #371

nathanjmcdougall opened this issue Mar 4, 2025 · 0 comments · Fixed by #391
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@nathanjmcdougall
Copy link
Owner

Motivation
Some good ideas suggested via #349

[tool.pytest.ini_options]
xfail_strict = true
log_cli_level = "INFO"
minversion = "7"
testpaths = [ "tests" ]
addopts = [
  "--import-mode=importlib",
  "-ra",
  "--strict-config",
  "--strict-markers",
]
filterwarnings = [ "error" ]

Summary of desired enhancement
Enable this improved config by default for development, and add it via usethis tool pytest (or at least consider the ramifications of doing this).

@nathanjmcdougall nathanjmcdougall added the enhancement New feature or request label Mar 4, 2025
@nathanjmcdougall nathanjmcdougall self-assigned this Mar 4, 2025
@nathanjmcdougall nathanjmcdougall added this to the v0.6.0 milestone Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant