File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ sudo: false
5
5
env :
6
6
- MYPYPATH="$TRAVIS_BUILD_DIR/.travis/mypy-stubs"
7
7
install :
8
- - pip3 install flake8 mypy
8
+ - pip3 install flake8-mutable flake8-builtins mypy
9
9
script :
10
10
- " .travis/flake8.sh"
11
11
- mypy iocage
Original file line number Diff line number Diff line change 2
2
# Run pep8 on all .py files in all subfolders
3
3
4
4
tmpafter=$( mktemp)
5
- find ./libiocage / -name \* .py -exec flake8 --ignore=E203,W391 {} + | grep -v " ./libiocage /__init__.py" > ${tmpafter}
5
+ find ./iocage / -name \* .py -exec flake8 --ignore=E203,W391 {} + | grep -v " ./iocage /__init__.py" > ${tmpafter}
6
6
num_errors_after=` cat ${tmpafter} | wc -l`
7
7
echo " Current Error Count: ${num_errors_after} "
8
8
echo " Current Errors:"
@@ -17,7 +17,7 @@ echo "Comparing with last stable release: ${last_release}"
17
17
git checkout ${last_release}
18
18
19
19
tmpbefore=$( mktemp)
20
- find ./libiocage / -name \* .py -exec flake8 --ignore=E203,W391 {} + | grep -v " ./libiocage/__init__.py" > ${tmpbefore}
20
+ find ./iocage / -name \* .py -exec flake8 --ignore=E203,W391 {} + | grep -v " ./libiocage/__init__.py" > ${tmpbefore}
21
21
num_errors_before=` cat ${tmpbefore} | wc -l`
22
22
echo " ${last_release} 's Error Count: ${num_errors_before} "
23
23
You can’t perform that action at this time.
0 commit comments