Skip to content
Snippets Groups Projects
Commit 4a434c98 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Update the Travis file to use the setup.cfg

parent 370ebd40
No related branches found
No related tags found
No related merge requests found
...@@ -35,13 +35,13 @@ install: ...@@ -35,13 +35,13 @@ install:
# Install project dependencies # Install project dependencies
- pip install -r requirements.txt - pip install -r requirements.txt
# Install test dependencies
- pip install flake8
# Run the tests # Run the tests
script: script:
# Run python code style checks # Run python code style checks
- flake8 opentech --ignore=E501,F405 --exclude=*/migrations/* - flake8
# Type check the project
- mypy .
# Run system checks # Run system checks
- python manage.py check - python manage.py check
......
...@@ -7,6 +7,8 @@ Werkzeug==0.11.11 ...@@ -7,6 +7,8 @@ Werkzeug==0.11.11
stellar==0.4.3 stellar==0.4.3
wagtail-django-recaptcha==0.1 wagtail-django-recaptcha==0.1
uwsgidecorators==1.1.0 uwsgidecorators==1.1.0
mypy==0.550
flake8
# Production dependencies # Production dependencies
dj-database-url==0.4.1 dj-database-url==0.4.1
......
[mypy]
show_column_numbers = True
ignore_missing_imports = True
[mypy-opentech.*]
ignore_errors = True
[mypy-opentech.apply.*]
check_untyped_defs = True
ignore_errors = False
[flake8]
ignore=E501,F405
exclude=*/migrations/*
\ No newline at end of file
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