xarray-contrib / cf-xarray

an accessor for xarray objects that interprets CF attributes
https://cf-xarray.readthedocs.io/
Apache License 2.0
152 stars 39 forks source link

Do not include tests when calculating coverage #482

Closed jsignell closed 7 months ago

jsignell commented 7 months ago

Before:

---------- coverage: platform linux, python 3.10.13-final-0 ----------
Name                               Stmts   Miss  Cover
------------------------------------------------------
cf_xarray/__init__.py                  8      0   100%
cf_xarray/_version.py                  1      0   100%
cf_xarray/accessor.py               1053     62    94%
cf_xarray/coding.py                   53      7    87%
cf_xarray/criteria.py                 17      2    88%
cf_xarray/datasets.py                 89      0   100%
cf_xarray/formatting.py              144     12    92%
cf_xarray/geometry.py                 98      2    98%
cf_xarray/helpers.py                  64      6    91%
cf_xarray/options.py                  23      0   100%
cf_xarray/scripts/make_doc.py         28      1    96%
cf_xarray/sgrid.py                    20      0   100%
cf_xarray/tests/__init__.py           47     16    66%
cf_xarray/tests/test_accessor.py    1054      2    99%
cf_xarray/tests/test_coding.py        19      0   100%
cf_xarray/tests/test_geometry.py      76      0   100%
cf_xarray/tests/test_helpers.py       38      2    95%
cf_xarray/tests/test_options.py        5      0   100%
cf_xarray/tests/test_scripts.py       13      0   100%
cf_xarray/tests/test_units.py         39      0   100%
cf_xarray/units.py                    41      4    90%
cf_xarray/utils.py                    71      8    89%
------------------------------------------------------
TOTAL                               3001    124    96%

After:

---------- coverage: platform linux, python 3.10.13-final-0 ----------
Name                            Stmts   Miss  Cover
---------------------------------------------------
cf_xarray/__init__.py               8      0   100%
cf_xarray/_version.py               1      0   100%
cf_xarray/accessor.py            1053     62    94%
cf_xarray/coding.py                53      7    87%
cf_xarray/criteria.py              17      2    88%
cf_xarray/datasets.py              89      0   100%
cf_xarray/formatting.py           144     12    92%
cf_xarray/geometry.py              98      2    98%
cf_xarray/helpers.py               64      6    91%
cf_xarray/options.py               23      0   100%
cf_xarray/scripts/make_doc.py      28      1    96%
cf_xarray/sgrid.py                 20      0   100%
cf_xarray/units.py                 41      4    90%
cf_xarray/utils.py                 71      8    89%
---------------------------------------------------
TOTAL                            1710    104    94%
dcherian commented 7 months ago

❤️