Skip to content

Commit 0653c29

Browse files
hukkinj1matejcik
authored andcommitted
Run flake8 in travis
1 parent 709c52e commit 0653c29

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ extend-ignore =
44
E203,
55
# E501: line too long
66
E501
7+
exclude = */site-packages/*

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ install:
1717
- pip install tox-travis
1818
- |
1919
if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then
20-
pip install black mypy
20+
pip install black flake8 mypy
2121
fi
2222
2323
script:
2424
- python setup.py install
2525
- |
2626
if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then
2727
black --check . &&
28+
flake8 . &&
2829
mypy .
2930
fi
3031
- tox

generate_vectors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ def process(data, lst):
3030

3131
# Generate corner cases
3232
data = []
33-
for l in range(16, 32 + 1, 8):
33+
for length in range(16, 32 + 1, 8):
3434
for b in ["00", "7f", "80", "ff"]:
35-
process(b * l, out[lang])
35+
process(b * length, out[lang])
3636

3737
# Generate random seeds
3838
for i in range(12):

0 commit comments

Comments
 (0)