зеркало из https://github.com/mozilla/normandy.git
Merge #2125
2125: add exclusions for venv for make check and code_format r=tiftran a=tiftran Using docker workflow and not using it, has caused some tiny problems. `make check` and `make code_format` goes into the venv and checks/lints, change so that it excludes the venv file. ref: #2124 Co-authored-by: tiftran <ttran@mozilla.com>
This commit is contained in:
Коммит
18c26e7225
4
Makefile
4
Makefile
|
@ -34,11 +34,11 @@ load_data: migrate update_actions load_initial_data
|
|||
|
||||
lint: SHELL:=/bin/bash -O extglob
|
||||
lint:
|
||||
docker-compose run app therapist run --disable-git ./!(node_modules|assets|docs)
|
||||
docker-compose run app therapist run --disable-git ./!(node_modules|assets|docs|venv)
|
||||
|
||||
code_format: SHELL:=/bin/bash -O extglob
|
||||
code_format:
|
||||
docker-compose run app therapist run --fix --disable-git ./!(node_modules|assets|docs)
|
||||
docker-compose run app therapist run --fix --disable-git ./!(node_modules|assets|docs|venv)
|
||||
check: check_migrations lint test
|
||||
|
||||
kill:
|
||||
|
|
Загрузка…
Ссылка в новой задаче