Skip to content

Commit

Permalink
Merge pull request #12 from morepath/flake-8
Browse files Browse the repository at this point in the history
Fix Flake8, drop support for Python 3.4 and 3.5
  • Loading branch information
jugmac00 authored Oct 2, 2020
2 parents d853987 + 46315e1 commit eed9150
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ dist: xenial
language: python

python:
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "pypy3.6-7.1.1"
- "pypy3"
matrix:
include:
- python: "3.7"
Expand Down
4 changes: 3 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ CHANGES
0.3 (unreleased)
----------------

- Nothing changed yet.
- Drop support for Python 3.4 and 3.5.

- Fix Flake8 errors.


0.2 (2020-01-29)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 80
target-version = ['py34', 'py35', 'py36', 'py37', 'py38']
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
(
Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
[tox]
envlist = py34, py35, py36, py37, py38, pypy3, coverage, pep8
envlist = py36, py37, py38, pypy3, coverage, pep8
skipsdist = True
skip_missing_interpreters = True

[testenv]
usedevelop = True
extras = test

commands = py.test {posargs}
commands = pytest {posargs}

[testenv:coverage]
basepython = python3.7
extras = test
coverage

commands = py.test --cov {posargs}
commands = pytest --cov {posargs}

[testenv:pep8]
basepython = python3.7
extras = pep8

commands = flake8 importscan *.py
commands = flake8 importscan
black --check .

0 comments on commit eed9150

Please sign in to comment.