Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork941
Commitd43055d
committed
tox env to easily run flake8
Most people know about pep8 which enforce coding style. pyflakes goes astep beyond by analyzing the code.flake8 is basically a wrapper around both pep8 and pyflakes and comeswith some additional checks. I find it very useful since you only needto require one package to have a lot of code issues reported to you.This patch provides a 'flake8' tox environement to easily install andrun the utility on the code base. One simply has to: tox -eflake8The env has been added to the default list of environement to haveflake8 run by default.The repository in its current state does not pass checks but I noticed apull request fixing pep8 issues. We can later easily ensure there is noregression by adjusting Travis configuration to run this env.More informations about flake8:https://pypi.python.org/pypi/flake81 parent2ddd5e5 commitd43055d
2 files changed
+9
-1
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
|
Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 |
| |
13 | 16 |
| |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + |
0 commit comments
Comments
(0)