Create make target for api linter tasks

This commit is contained in:
Shane McDonald 2021-06-15 11:02:32 -04:00
parent a1ded8db3f
commit f9043864ce
No known key found for this signature in database
GPG Key ID: 6F374AF6E9EB9374

View File

@ -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