Skip to content

Commit

Permalink
set deprecation warning as error
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Dec 17, 2024
1 parent 5d5130c commit bfd9daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ filterwarnings = [
# NOTE: the last matching option is used
"ignore::Warning", # Ignore all Warning
"default::FutureWarning", # Show FutureWarnings
"default::DeprecationWarning", # Show DeprecationWarnings
"error::DeprecationWarning", # Show DeprecationWarnings # TODO: revert
# TODO: pybtex (perhaps some others) emits the following warnings
'ignore:pkg_resources is deprecated as an API:DeprecationWarning',
'ignore:distutils Version classes are deprecated:DeprecationWarning',
Expand Down

0 comments on commit bfd9daf

Please sign in to comment.