Skip to content

Commit

Permalink
Enable DeprecationWarnings by default (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
teutoburg authored Nov 19, 2024
2 parents 59557a7 + 30a9cf8 commit 86c3e1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scopesim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

warnings.simplefilter('ignore', UserWarning)
warnings.simplefilter('ignore', FutureWarning)
warnings.simplefilter('ignore', RuntimeWarning) # warnings for the developer
warnings.simplefilter('ignore', RuntimeWarning) # warnings for the developer
warnings.simplefilter('default', DeprecationWarning) # allow in general
warnings.simplefilter('ignore', category=AstropyWarning)
yaml.warnings({'YAMLLoadWarning': False})

Expand Down

0 comments on commit 86c3e1f

Please sign in to comment.