Skip to content

Commit

Permalink
run flake8 as part of the travis pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
freddrake committed Oct 30, 2018
1 parent 49e11c4 commit 5c87d9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -15,9 +15,11 @@ matrix:
install:
- pip install -U pip setuptools
- pip install -U coverage coveralls
- pip install -U flake8
- pip install -U -e .[test]
script:
- coverage run -m zope.testrunner --test-path=.
- find setup.py ZConfig | xargs flake8 --isolated

This comment has been minimized.

Copy link
@mgedmin

mgedmin Oct 30, 2018

Member

flake8 accepts multiple arguments on the command line: flake8 setup.py ZConfig.

I don't like --isolated; I prefer to put project-level tweaks (such as doctests = yes) in setup.cfg.

notifications:
email: false
after_success:
Expand Down

0 comments on commit 5c87d9c

Please sign in to comment.