mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-29 17:33:08 +03:00
excluding tests in coverage
This commit is contained in:
parent
ade8a81717
commit
9f8f852631
|
@ -5,7 +5,7 @@
|
||||||
exclude_also =
|
exclude_also =
|
||||||
# Don't complain if non-runnable code isn't run
|
# Don't complain if non-runnable code isn't run
|
||||||
if 0:
|
if 0:
|
||||||
if __name__ == .__main__.:
|
if _name_ == ._main_.:
|
||||||
# Don't complain about debug code
|
# Don't complain about debug code
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
# Don't complain about compatibility code for missing optional dependencies
|
# Don't complain about compatibility code for missing optional dependencies
|
||||||
|
@ -13,7 +13,7 @@ exclude_also =
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
@abc.abstractmethod
|
@abc.abstractmethod
|
||||||
# Empty bodies in protocols or abstract methods
|
# Empty bodies in protocols or abstract methods
|
||||||
^\s*def [a-zA-Z0-9_]+\(.*\)(\s*->.*)?:\s*\.\.\.(\s*#.*)?$
|
^\s*def [a-zA-Z0-9_]+\(.\)(\s->.)?:\s\.\.\.(\s*#.*)?$
|
||||||
^\s*\.\.\.(\s*#.*)?$
|
^\s*\.\.\.(\s*#.*)?$
|
||||||
|
|
||||||
[run]
|
[run]
|
||||||
|
@ -23,5 +23,3 @@ omit =
|
||||||
# Tests/check_*.py
|
# Tests/check_*.py
|
||||||
# Tests/createfontdatachunk.py
|
# Tests/createfontdatachunk.py
|
||||||
Tests/*
|
Tests/*
|
||||||
src/*
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user