Skip to content

Commit

Permalink
gh-187: add scientific python recommended pytest config
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Sep 12, 2024
1 parent 27fa141 commit 7e01b6e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,19 @@ version.source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "glass/_version.py"

[tool.pytest.ini_options]
minversion = "6.0"
xfail_strict = true
addopts = [
"-ra",
"--strict-markers",
"--strict-config",
]
testpaths = [
"tests",
]
log_cli_level = "DEBUG"
filterwarnings = [
"ignore::DeprecationWarning",
]

0 comments on commit 7e01b6e

Please sign in to comment.