Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve filter/ignore warnings #552

Merged
merged 7 commits into from
Feb 7, 2022
Merged

Conversation

avaldebe
Copy link
Collaborator

  • ignore DeprecationWarning and FutureWarning raised outside pyaerocom
  • remove ignore_warnings apply option
  • ignore specific geonum and iris warnings on tests,
    instead using ignore_warnings to capture and ingore
    each trigger
  • remove const.FILTER_IRIS_WARNINGS

@avaldebe avaldebe added enhancement ✨ New feature or request testing labels Jan 25, 2022
@avaldebe avaldebe self-assigned this Jan 25, 2022
@codecov
Copy link

codecov bot commented Jan 25, 2022

Codecov Report

Merging #552 (0d23f02) into main-dev (9911d3f) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           main-dev     #552      +/-   ##
============================================
- Coverage     76.98%   76.96%   -0.02%     
============================================
  Files            97       97              
  Lines         17509    17496      -13     
============================================
- Hits          13479    13466      -13     
  Misses         4030     4030              
Flag Coverage Δ
unittests 76.96% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pyaerocom/config.py 83.39% <ø> (-0.04%) ⬇️
pyaerocom/io/iris_io.py 94.61% <ø> (-0.05%) ⬇️
pyaerocom/_lowlevel_helpers.py 82.48% <100.00%> (ø)
pyaerocom/_warnings.py 88.88% <100.00%> (ø)
pyaerocom/aeroval/coldatatojson_helpers.py 71.87% <100.00%> (ø)
pyaerocom/griddeddata.py 61.38% <100.00%> (-0.04%) ⬇️
pyaerocom/io/read_ebas.py 88.08% <100.00%> (-0.05%) ⬇️
pyaerocom/mathutils.py 81.48% <100.00%> (ø)
pyaerocom/plot/mapping.py 96.52% <100.00%> (ø)
pyaerocom/plot/plotscatter.py 100.00% <100.00%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9911d3f...0d23f02. Read the comment docs.

@avaldebe avaldebe merged commit 27a7dac into metno:main-dev Feb 7, 2022
@avaldebe avaldebe deleted the filterwarnings branch February 7, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant