mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
bac38edd48
commit
4230772e3b
2 changed files with 15 additions and 0 deletions
7
.coveragerc
Normal file
7
.coveragerc
Normal file
|
@ -0,0 +1,7 @@
|
|||
[run]
|
||||
disable_warnings = already-imported
|
||||
|
||||
[report]
|
||||
include = aurweb/*
|
||||
exclude_lines =
|
||||
if __name__ == .__main__.:
|
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -9,3 +9,11 @@ __pycache__/
|
|||
test/test-results/
|
||||
test/trash directory*
|
||||
schema/aur-schema-sqlite.sql
|
||||
data.sql
|
||||
aurweb.sqlite3
|
||||
conf/config
|
||||
htmlcov/
|
||||
fastapi_aw/
|
||||
.vim/
|
||||
.pylintrc
|
||||
.coverage
|
||||
|
|
Loading…
Add table
Reference in a new issue