Commit 6f395d06 authored by Kevin Morris's avatar Kevin Morris Committed by Lukas Fleischer
Browse files

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's avatarKevin Morris <kevr@0cost.org>
parent 8ce96ac2
[run]
disable_warnings = already-imported
[report]
include = aurweb/*
exclude_lines =
if __name__ == .__main__.:
...@@ -9,3 +9,11 @@ __pycache__/ ...@@ -9,3 +9,11 @@ __pycache__/
test/test-results/ test/test-results/
test/trash directory* test/trash directory*
schema/aur-schema-sqlite.sql schema/aur-schema-sqlite.sql
data.sql
aurweb.sqlite3
conf/config
htmlcov/
fastapi_aw/
.vim/
.pylintrc
.coverage
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment