Skip to content
Snippets Groups Projects
Unverified Commit f8e3d2e4 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Merge pull request #671 from OpenTechFund/bugfix/travisci-flake8

Make flake8 work again on travisci.
parents 86d5acfe cc177ae3
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ install:
# Run the tests
script:
# Run python code style checks
- flake8
- flake8 ./opentech
# Collect static
- python manage.py collectstatic --noinput --verbosity=0
......
......@@ -97,7 +97,7 @@ class AccessFormData:
definitive_id = self.get_definitive_id(id)
try:
return self.raw_data[definitive_id]
except KeyError as e:
except KeyError:
# We have most likely progressed application forms so the data isnt in form_data
return None
......
[flake8]
ignore = E501,F405
ignore = E501,F405,F821,W504,W605
exclude = migrations,node_modules
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment