mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03: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
|
||||
|
||||
api-lint:
|
||||
BLACK_ARGS="--check" make black
|
||||
flake8 awx
|
||||
yamllint -s .
|
||||
|
||||
awx-link:
|
||||
[ -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
|
||||
|
||||
Reference in New Issue
Block a user