[WIP] refactoring/location-club-statistics #71
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
.PHONY: coverage errors
|
||||
|
||||
coverage:
|
||||
cd src/; coverage run --source='.' manage.py test; coverage report -m; cd ..
|
||||
@echo "Testing of coverage in the sources finished."
|
||||
|
||||
lint:
|
||||
pylint src/* --disable=django-not-configured
|
||||
|
||||
errors:
|
||||
pylint src/* --errors-only --disable=django-not-configured
|
|
@ -7,3 +7,4 @@ django-spaghetti-and-meatballs==0.4.2
|
|||
docutils==0.16
|
||||
pytest==6.2.4
|
||||
pytest-django==4.2.0
|
||||
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
[run]
|
||||
branch = true
|
||||
omit =
|
||||
*/tests/*
|
||||
*/test*
|
||||
*/migrations/*
|
||||
*/urls.py
|
||||
*/settings/*
|
||||
*/wsgi.py
|
||||
*/__init__.py
|
||||
manage.py
|
||||
source = .
|
||||
|
||||
[report]
|
||||
show_missing = true
|
Loading…
Reference in New Issue