summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-02-09 09:56:38 -0800
committerMatt Clay <matt@mystile.com>2017-02-09 11:01:48 -0800
commit25cb281b9b11212ab84cfb4677f7477c0ef5f096 (patch)
tree92a355ec54f4affa26e14cb6d645cf80e8ac46e2 /Makefile
parent35d97c1e6d80be8cc2739196c7eaa572d4e6a269 (diff)
downloadansible-25cb281b9b11212ab84cfb4677f7477c0ef5f096.tar.gz
Update Makefile to use ansible-test for pep8.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6683c0ca92..647ac0649e 100644
--- a/Makefile
+++ b/Makefile
@@ -140,11 +140,7 @@ loc:
sloccount lib library bin
pep8:
- @echo "#############################################"
- @echo "# Running PEP8 Compliance Tests"
- @echo "#############################################"
- -pep8 -r --ignore=E501,E221,W291,W391,E302,E251,E203,W293,E231,E303,E201,E225,E261,E241 lib/ bin/
- # -pep8 -r --ignore=E501,E221,W291,W391,E302,E251,E203,W293,E231,E303,E201,E225,E261,E241 --filename "*" library/
+ $(ANSIBLE_TEST) sanity --test pep8 --python $(PYTHON_VERSION) $(TEST_FLAGS)
pyflakes:
pyflakes lib/ansible/*.py lib/ansible/*/*.py bin/*