[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
