This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2020-09-02 22:04:12 +00:00
|
|
|
all: lint-fix lint coverage gen
|
|
|
|
|
|
|
|
coverage:
|
2020-09-14 15:37:06 +00:00
|
|
|
coverage run --concurrency=multiprocessing manage.py test --failfast -v 3
|
2020-09-02 22:04:12 +00:00
|
|
|
coverage combine
|
|
|
|
coverage html
|
|
|
|
coverage report
|
|
|
|
|
|
|
|
lint-fix:
|
|
|
|
isort -rc .
|
2020-09-26 17:08:37 +00:00
|
|
|
black passbook e2e lifecycle
|
2020-09-02 22:04:12 +00:00
|
|
|
|
|
|
|
lint:
|
2020-10-03 13:34:53 +00:00
|
|
|
pyright passbook e2e lifecycle
|
2020-10-26 18:07:08 +00:00
|
|
|
bandit -r passbook e2e lifecycle -x node_modules
|
2020-09-25 10:58:50 +00:00
|
|
|
pylint passbook e2e lifecycle
|
2020-09-26 17:17:42 +00:00
|
|
|
prospector
|
2020-09-02 22:04:12 +00:00
|
|
|
|
|
|
|
gen: coverage
|
|
|
|
./manage.py generate_swagger -o swagger.yaml -f yaml
|
2020-09-10 14:58:25 +00:00
|
|
|
|
|
|
|
local-stack:
|
|
|
|
export PASSBOOK_TAG=testing
|
|
|
|
docker build -t beryju/passbook:testng .
|
|
|
|
docker-compose up -d
|
|
|
|
docker-compose run --rm server migrate
|