Skip to content

Commit

Permalink
test flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
willforde committed Jan 24, 2021
1 parent b19275d commit f85a00d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
env: TOXENV=py38
- python: "3.9"
env: TOXENV=py39
- name: Flake8
env: TOXENV=flake8

install:
- pip install coveralls
Expand Down
11 changes: 10 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
[tox]
envlist = py{27,36,37,38,39}
envlist = py{27,36,37,38,39},flake8
skip_missing_interpreters=true

[testenv]
extras = dev
commands = pytest --cov

[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8
pep8-naming
commands =
flake8 --max-line-length=120

0 comments on commit f85a00d

Please sign in to comment.