mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -02:30
Create make target for api linter tasks
This commit is contained in:
5
Makefile
5
Makefile
@@ -288,6 +288,11 @@ swagger: reports
|
|||||||
|
|
||||||
check: black
|
check: black
|
||||||
|
|
||||||
|
api-lint:
|
||||||
|
BLACK_ARGS="--check" make black
|
||||||
|
flake8 awx
|
||||||
|
yamllint -s .
|
||||||
|
|
||||||
awx-link:
|
awx-link:
|
||||||
[ -d "/awx_devel/awx.egg-info" ] || $(PYTHON) /awx_devel/setup.py egg_info_dev
|
[ -d "/awx_devel/awx.egg-info" ] || $(PYTHON) /awx_devel/setup.py egg_info_dev
|
||||||
cp -f /tmp/awx.egg-link /var/lib/awx/venv/awx/lib/python$(PYTHON_VERSION)/site-packages/awx.egg-link
|
cp -f /tmp/awx.egg-link /var/lib/awx/venv/awx/lib/python$(PYTHON_VERSION)/site-packages/awx.egg-link
|
||||||
|
|||||||
Reference in New Issue
Block a user