Skip to content

Commit

Permalink
Make warnings into errors during tests. Ignore two warnings (see comm…
Browse files Browse the repository at this point in the history
…ents)
  • Loading branch information
yarikoptic committed Oct 18, 2023
1 parent 17a208f commit 65d7b74
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,15 @@ httpx = "^0.25.0"
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
# log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
# log_cli_date_format = "%Y-%m-%d %H:%M:%S"
addopts = "--tb=short"
filterwarnings = [
"error",
# filed an issue: https://foss.heptapod.net/python-libs/passlib/-/issues/188
"ignore:'crypt' is deprecated and slated for removal.*:DeprecationWarning:passlib",
# https://github.com/ReproNim/repromon/issues/9
"ignore: passing settings to sha256_crypt.hash\\(\\) is deprecated, .*:DeprecationWarning:passlib",
]


[build-system]
requires = ["poetry>=1.0"]
Expand Down

0 comments on commit 65d7b74

Please sign in to comment.