Skip to content

Commit

Permalink
Merge pull request rdmorganiser#1064 from afuetterer/warning
Browse files Browse the repository at this point in the history
chore: ignore warnings in pytest settings
  • Loading branch information
afuetterer authored Jul 26, 2024
2 parents 4ac792d + b68bacc commit 630b9b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,12 @@ filterwarnings = [
"ignore:'cgi' is deprecated and slated for removal in Python 3.13:DeprecationWarning",
"ignore:pkg_resources is deprecated as an API:DeprecationWarning",

# ignore warning from rest_framework about coreapi
"ignore:CoreAPI compatibility is deprecated and will be removed in DRF 3.17:rest_framework.RemovedInDRF317Warning",

# ignore warning from django_filters
"ignore:Built-in schema generation is deprecated. Use drf-spectacular.:django_filters.RemovedInDjangoFilter25Warning",

# ignore warnings raised from within django itself
# django/core/files/storage/__init__.py
"ignore:django.core.files.storage.get_storage_class is deprecated:django.utils.deprecation.RemovedInDjango51Warning",
Expand Down

0 comments on commit 630b9b8

Please sign in to comment.