2020-09-02 23:04:12 +01:00
|
|
|
all: lint-fix lint coverage gen
|
|
|
|
|
|
|
|
coverage:
|
2020-09-14 16:37:06 +01:00
|
|
|
coverage run --concurrency=multiprocessing manage.py test --failfast -v 3
|
2020-09-02 23:04:12 +01:00
|
|
|
coverage combine
|
|
|
|
coverage html
|
|
|
|
coverage report
|
|
|
|
|
|
|
|
lint-fix:
|
|
|
|
isort -rc .
|
2020-09-26 18:08:37 +01:00
|
|
|
black passbook e2e lifecycle
|
2020-09-02 23:04:12 +01:00
|
|
|
|
|
|
|
lint:
|
2020-10-03 14:34:53 +01:00
|
|
|
pyright passbook e2e lifecycle
|
2020-10-26 18:07:08 +00:00
|
|
|
bandit -r passbook e2e lifecycle -x node_modules
|
2020-09-25 11:58:50 +01:00
|
|
|
pylint passbook e2e lifecycle
|
2020-09-26 18:17:42 +01:00
|
|
|
prospector
|
2020-09-02 23:04:12 +01:00
|
|
|
|
|
|
|
gen: coverage
|
|
|
|
./manage.py generate_swagger -o swagger.yaml -f yaml
|
2020-09-10 15:58:25 +01:00
|
|
|
|
|
|
|
local-stack:
|
|
|
|
export PASSBOOK_TAG=testing
|
|
|
|
docker build -t beryju/passbook:testng .
|
|
|
|
docker-compose up -d
|
|
|
|
docker-compose run --rm server migrate
|