Skip to content

Commit

Permalink
Move pytest config into setup.cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
sirosen committed Nov 21, 2023
1 parent 240061e commit 2975756
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,9 @@ disallow_untyped_defs = true
ignore_missing_imports = true
warn_unreachable = true
warn_no_return = true

[tool:pytest]
filterwarnings =
error
# dateutil has a Python 3.12 compatibility issue.
ignore:datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning
6 changes: 0 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,3 @@ commands = python ./scripts/vendor-schemas.py
[testenv:generate-hooks-config]
description = "update autogenerated pre-commit hooks"
commands = python ./scripts/generate-hooks-config.py

[pytest]
filterwarnings =
error
# dateutil has a Python 3.12 compatibility issue.
ignore:datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning

0 comments on commit 2975756

Please sign in to comment.