aeye-lab / pymovements

A python package for processing eye movement data
https://pymovements.readthedocs.io
MIT License
57 stars 11 forks source link

ci: treat warnings as errors #602

Closed dkrako closed 8 months ago

dkrako commented 8 months ago

Running our tests raises several warnings. They were just ignored before, but now we will treat each unexpected warning as an error.

As there are already some warnings raised that need to be worked on, I have created ignore-exceptions for these cases. Getting rid of these ignores can be worked on in separate PRs which then can remove the respective ignore line from the pyproject.toml

These are the added exceptions https://github.com/aeye-lab/pymovements/blob/ec11568ff43ba2af64ccbf554ed86024055ea34a/pyproject.toml#L132-L142

codecov[bot] commented 8 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (273c85e) 100.00% compared to head (b07cade) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #602 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 52 52 Lines 2337 2337 Branches 582 582 ========================================= Hits 2337 2337 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.