Update .travis.yml

This commit is contained in:
Shay Nehmad 2020-01-27 14:59:31 +02:00
parent f49089aed3
commit b8b015e84e
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ script:
# --count will print the total number of errors. # --count will print the total number of errors.
# --statistics Count the number of occurrences of each error/warning code and print a report. # --statistics Count the number of occurrences of each error/warning code and print a report.
# The output is redirected to a file. # The output is redirected to a file.
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics > flake8_warnings.txt - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=monkey/infection_monkey/system_info/collectors/scoutsuite > flake8_warnings.txt
# Display the linter issues # Display the linter issues
- cat flake8_warnings.txt - cat flake8_warnings.txt
# Make sure that we haven't increased the amount of warnings. # Make sure that we haven't increased the amount of warnings.