-
Notifications
You must be signed in to change notification settings - Fork 249
Commit d55cbc0
Tox, travis and requirements
Requirements:
Requirements files aren't used. Requirements.txt and setup.py had odd
requirements that I can't see used anywhere. Requirements-dev.txt had
conflicting packages (flake8 wants specific versions of pyflakes and
pycodestyle).
Tox & travis:
Split tox into a test, coverage and lint phase. Run either:
tox
tox -e py36
tox -e cover
tox -e lint
Tox and travis will now fail the lint / build on flake8 errors to
avoid non-compliant code being merged. (--exit-zero removed)
Coverage will fail for now, so let's set it really low in travis for
now.
McCabe complexity is annoying and dealt with better by codeclimate so I
bumped it up from 10 to 11 so it won't fail at the moment.1 parent 9726554 commit d55cbc0
File tree
5 files changed
+21
-26
lines changed5 files changed
+21
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | - | ||
6 | - | ||
5 | + | ||
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | - | ||
11 | - | ||
12 | 9 | | |
13 | - | ||
14 | 10 | | |
11 | + | ||
12 | + | ||
13 | + | ||
15 | 14 | | |
16 | 15 | | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | - | ||
34 | - | ||
35 | - | ||
36 | - | ||
37 | - | ||
33 | + | ||
38 | 34 | | |
39 | 35 | | |
40 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | - | ||
2 | + | ||
3 | 3 | | |
4 | 4 | | |
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
5 | 10 | | |
6 | - | ||
11 | + | ||
12 | + | ||
13 | + | ||
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
11 | 18 | | |
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
12 | 25 | | |
13 | - | ||
14 | - | ||
26 | + | ||
0 commit comments