mwilensky768 / SSINS

BSD 2-Clause "Simplified" License
6 stars 7 forks source link

Add a CI job that errors on warnings #120

Open bhazelton opened 1 year ago

bhazelton commented 1 year ago

This would help make it obvious when new deprecation warnings start happening, which will allow you to adapt code before it breaks.

You can make pytest error on all warnings with -W error or just on deprecation warnings with -W "error::DeprecationWarning". We have a job like this on all RASG repos and it's super helpful. We don't require that it passes to merge a PR but we usually notice and fix the problem as soon as the job starts erroring.