We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 315630b commit dd4db81Copy full SHA for dd4db81
.github/workflows/ci.yml
@@ -11,6 +11,9 @@ on:
11
jobs:
12
build:
13
14
+ # When testing new Python or Django versions, one should use the
15
+ # filterwarnings definition of setup.cfg to turn deprecation warnings
16
+ # into errors.
17
strategy:
18
matrix:
19
include:
setup.cfg
@@ -60,7 +60,10 @@ testpaths =
60
django_genericfilters/tests
61
demoproject/tests.py
62
filterwarnings =
63
- error
+ # Uncomment below when testing a new version of Python or Django so that
64
+ # DeprecationWarnings can be treated as errors
65
+ # error
66
+ ignore:.*distutils Version classes are deprecated.*:DeprecationWarning
67
68
DJANGO_SETTINGS_MODULE = demoproject.settings
69
0 commit comments