add flake8 to travis-ci

This commit is contained in:
htlcnn
2020-11-05 23:01:23 +07:00
committed by Dion Moult
parent f5c57d2a1c
commit 990e6ee24e
+4
View File
@@ -22,6 +22,10 @@ install:
# - sudo apt-get update -qq && sudo apt-get install -y dart
# - export PATH=$PATH:/usr/lib/dart/bin:$HOME/.pub-cache/bin
# - git clone https://github.com/KhronosGroup/glTF-Validator && pushd glTF-Validator && pub get && pub global activate --source path ./ && popd
- pip install flake8
before_script:
- flake8 . --max-line-length=120 --statistics
script:
- pwd