Skip to content

Commit

Permalink
Add automatic flake8 checking
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed Apr 25, 2018
1 parent c810012 commit 642ac73
Show file tree
Hide file tree
Showing 2 changed files with 18 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
10 changes: 10 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[flake8]
max-line-length = 110
ignore = E133, E226, E228, N802, N803, N806, E266
# TODO: remove E266 when Task documentation is converted to rst in DM-14207.
exclude =
__init__.py

[tool:pytest]
addopts = --flake8
flake8-ignore = E133 E226 E228 N802 N803 N806, E266

0 comments on commit 642ac73

Please sign in to comment.