Skip to content

Commit

Permalink
Enable automatic flake8 checking
Browse files Browse the repository at this point in the history
in scons and github Travis
  • Loading branch information
r-owen committed Aug 16, 2018
1 parent 1e66b70 commit d285e1d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
sudo: false
language: python
matrix:
include:
- python: '3.6'
install:
- pip install flake8
script: flake8
11 changes: 11 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[flake8]
max-line-length = 110
# TODO: remove E266 when Task documentation is converted to rst in DM-14207.
ignore = E133, E226, E228, N802, N803, N806, E266
exclude = __init__.py

[tool:pytest]
addopts = --flake8
flake8-ignore = E133 E226 E228 N802 N803 N806
# TODO: remove E266 lines when Task documentation is converted to rst in DM-14207.
deblend.py E266

0 comments on commit d285e1d

Please sign in to comment.