Skip to content

Add setup.cfg with pytest filterwarning that errors on all warnings.

Hugo Buddelmeijer requested to merge hb/feature/checkwarnings into develop

Only selected warnings are ignored. This will ensure that problems are detected early, e.g. deprecation warnings. E.g. the deprecation of clobber in astropy would have been detected 4 years ago.

Also fixes bad escapes because those warnings were just as easy to fix as to ignore.

See also https://github.com/astropy/astropy/pull/12258

Edited by Hugo Buddelmeijer

Merge request reports