mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-18 21:44:41 -04:00
use flake8 instead of pycodestyle
since there are thousands and thousands of errors in the tests files at the moment, i propose fixing those errors in separate PR for now.
This commit is contained in:
@@ -64,6 +64,7 @@ def delete_queue(queue_url):
|
||||
print('Deleted queue successfully {}'.format(response['ResponseMetadata']))
|
||||
else:
|
||||
print('Error occured when attempting to delete queue')
|
||||
from pprint import pprint
|
||||
pprint(response)
|
||||
return response
|
||||
|
||||
|
||||
@@ -27,7 +27,8 @@ function display_result {
|
||||
if [[ -z "$VIRTUAL_ENV" ]] && [[ -d venv ]]; then
|
||||
source ./venv/bin/activate
|
||||
fi
|
||||
pycodestyle .
|
||||
echo -e "\033[31mWARNING. NOT RUNNING flake8 AGAINST TEST DIRECTORY DUE TO LARGE AMOUNT OF EXISTING ISSUES.\033[0m"
|
||||
flake8 app/
|
||||
display_result $? 1 "Code style check"
|
||||
|
||||
# run with four concurrent threads
|
||||
|
||||
Reference in New Issue
Block a user