diff options
author | Kevin Morris <kevr@0cost.org> | 2020-12-26 06:10:02 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2021-02-20 17:51:59 +0100 |
commit | 6f395d06091d98e1fe38b8cf1e343aa81775007f (patch) | |
tree | 430bc9a73bae02f5035cbff9bc0b684ad12f14af /.coveragerc | |
parent | 8ce96ac20830ce222fb7f75ef8ab1ad2669539b0 (diff) | |
download | aur-6f395d06091d98e1fe38b8cf1e343aa81775007f.tar.gz aur-6f395d06091d98e1fe38b8cf1e343aa81775007f.tar.xz |
add .coveragerc, update .gitignore
Now, .coveragerc enforces a minimum overall 82% coverage, as is
the current standing. Providing less than 100% coverage for added
code should reduce the overall coverage and eventually reach 81%
or below, causing coverage report to fail on execution.
Developers should increase the failure minimum as they increase
coverage across the uncovered code.
Signed-off-by: Kevin Morris <kevr@0cost.org>
Diffstat (limited to '.coveragerc')
-rw-r--r-- | .coveragerc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 00000000..144a9f5c --- /dev/null +++ b/.coveragerc @@ -0,0 +1,7 @@ +[run] +disable_warnings = already-imported + +[report] +include = aurweb/* +exclude_lines = + if __name__ == .__main__.: |