Skip to content

Commit

Permalink
Sandbox: Configure pytest in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Oct 24, 2024
1 parent 4593293 commit e554453
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
20 changes: 20 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,23 @@ lint.per-file-ignores."tests/*" = [
"ERA001", # Found commented-out code.
"S101", # Allow use of `assert`, and `print`.
]

[tool.pytest.ini_options]
addopts = """
-rfEXs -p pytester --strict-markers --verbosity=3
--cov --cov-report=term-missing --cov-report=xml
"""
filterwarnings = [
"error::UserWarning",
]
log_level = "DEBUG"
log_cli_level = "DEBUG"
log_format = "%(asctime)-15s [%(name)-36s] %(levelname)-8s: %(message)s"
minversion = "2.0"
testpaths = [
"responder",
"tests",
]
markers = [
]
xfail_strict = true
4 changes: 0 additions & 4 deletions pytest.ini

This file was deleted.

0 comments on commit e554453

Please sign in to comment.