Skip to content

Commit

Permalink
Fix flake8 plugins (#37)
Browse files Browse the repository at this point in the history
* Fix flake8 plugins

* install poetry in travis

* use pip to install poetry

* move pip
  • Loading branch information
ianlini authored Oct 5, 2020
1 parent a7d4f63 commit 9aa848e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ sudo: false
language: python
matrix:
include:
- python: '2.7'
- python: '3.5'
- python: '3.6'
- python: '3.7'
- python: '3.8'
- python: '3.9-dev'
- python: '3.8'
- python: "2.7"
- python: "3.5"
- python: "3.6"
- python: "3.7"
- python: "3.8"
- python: "3.9-dev"
- python: "3.8"
env: TOXENV=flake8

install:
- pip install -U pip wheel
- pip install -U Cython
- pip install -U tox-travis tox
- pip install -U tox-travis tox poetry==1.1.0

script:
- tox
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ commands =

[testenv:flake8]
skip_install = true
deps =
flake8
whitelist_externals =
poetry
commands =
flake8
# use poetry to install all dev dependencies
poetry install
poetry run flake8

0 comments on commit 9aa848e

Please sign in to comment.