Skip to content

Commit 9b8906b

Browse files
author
Kevin Burke
committed
add Makefile for automating common linting tasks
1 parent f3617d4 commit 9b8906b

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ develop-eggs
1212
.installed.cfg
1313
scratch
1414
env
15+
venv
1516

1617
# Installer logs
1718
pip-log.txt

Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
venv:
2+
virtualenv venv
3+
4+
install: venv
5+
. venv/bin/activate; pip install .
6+
7+
analysis:
8+
. venv/bin/activate; flake8 --ignore=E123,E126,E128,E501 tests
9+
. venv/bin/activate; flake8 --ignore=F401 twilio
10+
11+
test: analysis
12+
. venv/bin/activate; nosetests

0 commit comments

Comments
 (0)