Skip to content

Commit eed9150

Browse files
authored
Merge pull request #12 from morepath/flake-8
Fix Flake8, drop support for Python 3.4 and 3.5
2 parents d853987 + 46315e1 commit eed9150

5 files changed

Lines changed: 9 additions & 11 deletions

File tree

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ dist: xenial
22
language: python
33

44
python:
5-
- "3.4"
6-
- "3.5"
75
- "3.6"
86
- "3.7"
97
- "3.8"
10-
- "pypy3.6-7.1.1"
8+
- "pypy3"
119
matrix:
1210
include:
1311
- python: "3.7"

CHANGES.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ CHANGES
44
0.3 (unreleased)
55
----------------
66

7-
- Nothing changed yet.
7+
- Drop support for Python 3.4 and 3.5.
8+
9+
- Fix Flake8 errors.
810

911

1012
0.2 (2020-01-29)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 80
3-
target-version = ['py34', 'py35', 'py36', 'py37', 'py38']
3+
target-version = ['py36', 'py37', 'py38']
44
include = '\.pyi?$'
55
exclude = '''
66
(

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
classifiers=[
1616
"Intended Audience :: Developers",
1717
"Programming Language :: Python",
18-
"Programming Language :: Python :: 3.4",
19-
"Programming Language :: Python :: 3.5",
2018
"Programming Language :: Python :: 3.6",
2119
"Programming Language :: Python :: 3.7",
2220
"Programming Language :: Python :: 3.8",

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
[tox]
2-
envlist = py34, py35, py36, py37, py38, pypy3, coverage, pep8
2+
envlist = py36, py37, py38, pypy3, coverage, pep8
33
skipsdist = True
44
skip_missing_interpreters = True
55

66
[testenv]
77
usedevelop = True
88
extras = test
99

10-
commands = py.test {posargs}
10+
commands = pytest {posargs}
1111

1212
[testenv:coverage]
1313
basepython = python3.7
1414
extras = test
1515
coverage
1616

17-
commands = py.test --cov {posargs}
17+
commands = pytest --cov {posargs}
1818

1919
[testenv:pep8]
2020
basepython = python3.7
2121
extras = pep8
2222

23-
commands = flake8 importscan *.py
23+
commands = flake8 importscan
2424
black --check .

0 commit comments

Comments
 (0)