Skip to content

Commit

Permalink
Turn warnings into errors; acknowledge existing errors
Browse files Browse the repository at this point in the history
We have two warnings on the repo at the moment, both from dependencies
(so outside of our control). One is from botocore
(boto/boto3#3889) and the other is from
sqlalchemy. Both are Python 3.12 DeprecationWarnings about
datetime.datetime.utcnow and datetime.datetime.utcfromtimestamp being
scheduled for removal in future python versions.
  • Loading branch information
samuelhwilliams committed Jul 31, 2024
1 parent b4d0144 commit c7b7808
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
env =
FLASK_ENV=unit_test
FLASK_DEBUG=1
filterwarnings =
error
ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:sqlalchemy
ignore:datetime.datetime.utcnow:DeprecationWarning:botocore

0 comments on commit c7b7808

Please sign in to comment.