mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Add config file for coverage.py to exclude some common things: http://nedbatchelder.com/code/coverage/config.html
This commit is contained in:
parent
24cb7bf3df
commit
e6908401d4
11
.coveragerc
Normal file
11
.coveragerc
Normal file
|
@ -0,0 +1,11 @@
|
|||
# .coveragerc to control coverage.py
|
||||
|
||||
[report]
|
||||
# Regexes for lines to exclude from consideration
|
||||
exclude_lines =
|
||||
# Have to re-enable the standard pragma:
|
||||
pragma: no cover
|
||||
|
||||
# Don't complain if non-runnable code isn't run:
|
||||
if 0:
|
||||
if __name__ == .__main__.:
|
Loading…
Reference in New Issue
Block a user