1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
[run]
branch = True
source = ./imageio
[report]
# Do not test our testing file and a few modules tested elsewhere
omit =
imageio/testing.py
imageio/freeze.py
tests/*
docs/*
# ignore files that will be removed
imageio/plugins/_tifffile.py
imageio/plugins/pillow_info.py
exclude_lines =
# Remember that these are reg exp
# Have to re-enable the standard pragma
pragma: no cover
raise AssertionError
raise NotImplementedError
# Don't complain if non-runnable code isn't run:
if 0:
if False:
if __name__ == .__main__.:
# Don't complain for platform specific code
sys\.platform.startswith\(\'win\'\)
sys\.platform.startswith\(\'darwin\'\)
getattr\(sys, \'frozen\'\,\ None\)
# Don't complain about caught import fails
except ImportError:
# In ffmpeg plugin - no video on Travis
if self.request._video:
ignore_errors = True
|