Exclude non-runnable code from coverage reports
Esse commit está contido em:
@@ -8,4 +8,11 @@ omit =
|
||||
*/utils/site/*
|
||||
|
||||
[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 __name__ == .__main__.:
|
||||
fail_under=0
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário