Skip to content

Commit

Permalink
Improve flake8 config
Browse files Browse the repository at this point in the history
- add flake8 config file (max line length now is 90 chars)
    [http://katafrakt.me/2017/09/16/80-characters-line-length-limit/]
- simplify flake8 call in travis config
  • Loading branch information
Martin Bauer committed Oct 23, 2018
1 parent 1ad3f04 commit 84afba5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .flake8
@@ -0,0 +1,4 @@
[flake8]
max-line-length = 90
max-complexity = 10
exclude = *migrations*
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -17,7 +17,7 @@ matrix:
dist: xenial
sudo: true
before_script:
- flake8 --exclude=*migrations* knox knox_project tests
- flake8 .
script:
- tox -e $TOX_ENVS
deploy:
Expand Down

0 comments on commit 84afba5

Please sign in to comment.