Skip to content

Commit afb8d40

Browse files
Add pylint to project requirements.
1 parent 6093d68 commit afb8d40

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: bootstrap clean compilemessages distclean killselenium killserver manage messages selenium server shell test test_selenium test_splinter test_unit test_windmill
1+
.PHONY: bootstrap clean compilemessages distclean killselenium killserver manage messages pep8 pylint selenium server shell test test_selenium test_splinter test_unit test_windmill
22

33
ENV ?= env
44
PROJECT = learnpython
@@ -61,6 +61,9 @@ messages:
6161
pep8:
6262
$(ENV)/bin/pep8 --count --statistics $(PROJECT)/
6363

64+
pylint:
65+
$(ENV)/bin/pylint $(PROJECT)/ --ignore=tests --disable=W0141,W0142
66+
6467
selenium:
6568
java -jar $(SELENIUM_JAR)
6669

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ nose==1.2.1
1717
ordereddict==1.1
1818
pep8==1.3.3
1919
pyquery==1.2.1
20+
pylint==0.26.0
2021
selenium==2.25.0
2122
splinter==0.4.8
2223
twill==0.9

0 commit comments

Comments
 (0)