Skip to content

Commit bdce21d

Browse files
authored
Merge pull request #2914 from cta-observatory/fix-deprecation
Ignore deprecation warning from inside matplotlib
2 parents 9d89f51 + 1f5a8a7 commit bdce21d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,16 @@ filterwarnings = [
164164
"error::tables.UnclosedFileWarning",
165165
"ignore:`np.MachAr` is deprecated:DeprecationWarning",
166166
"ignore::ctapipe.core.provenance.MissingReferenceMetadata",
167+
# inside matplotlib, already fixed but occurs in "oldest-deps" tests
168+
"ignore:'parseString':DeprecationWarning:matplotlib",
169+
"ignore:'resetCache':DeprecationWarning:matplotlib",
170+
"ignore:'oneOf':DeprecationWarning:matplotlib",
171+
"ignore:'leaveWhiteSpace':DeprecationWarning:matplotlib",
172+
"ignore:'setName':DeprecationWarning:matplotlib",
173+
"ignore:'setParseAction':DeprecationWarning:matplotlib",
174+
"ignore:'endQuoteChar':DeprecationWarning:matplotlib",
175+
"ignore:'unquoteResults':DeprecationWarning:matplotlib",
176+
"ignore:'parseAll':DeprecationWarning:pyparsing",
167177
]
168178
norecursedirs = [
169179
".git",

0 commit comments

Comments
 (0)