Always run flake8 through pre-commit, and with doctests (#28490)

* Enable flake8 doctests everywhere

* Always run flake8 through pre-commit
This commit is contained in:
Ville Skyttä 2019-11-06 21:38:00 +02:00 committed by GitHub
parent d9edd42532
commit bb37bc32e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View file

@ -15,7 +15,7 @@ printf "%s\n" $files
echo "================"
echo "LINT with flake8"
echo "================"
flake8 --doctests $files
pre-commit run flake8 --files $files
echo "================"
echo "LINT with pylint"
echo "================"