Skip to content

Commit

Permalink
Switch to Python 3.7 for Flake8 tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Mar 4, 2019
1 parent 29b74c1 commit acefc0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -7,7 +7,7 @@ python:
- 3.7
matrix:
include:
- python: 2.7
- python: 3.7
name: "Flake8"
install: pip install -U flake8
script: flake8 src setup.py
Expand Down
8 changes: 1 addition & 7 deletions src/z3c/__init__.py
@@ -1,7 +1 @@
# namespace package boilerplate
try:
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError, e:
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
__import__('pkg_resources').declare_namespace(__name__)
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -22,7 +22,7 @@ deps =
coverage-python-version

[testenv:flake8]
basepython = python2.7
basepython = python3.7
skip_install = true
deps = flake8
commands = flake8 src setup.py

0 comments on commit acefc0f

Please sign in to comment.