From 46315e11526e513a1c2e880666b1aff87ff4c4e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Gmach?= Date: Fri, 2 Oct 2020 13:40:15 +0200 Subject: [PATCH] Fix Flake8, drop support for Python 3.4 and 3.5 modified: .travis.yml modified: CHANGES.txt modified: pyproject.toml modified: setup.py modified: tox.ini --- .travis.yml | 4 +--- CHANGES.txt | 4 +++- pyproject.toml | 2 +- setup.py | 2 -- tox.ini | 8 ++++---- 5 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2593ad0..f4c504a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/CHANGES.txt b/CHANGES.txt index 9b67415..f63c3ad 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -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) diff --git a/pyproject.toml b/pyproject.toml index 38395a6..51e4886 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 80 -target-version = ['py34', 'py35', 'py36', 'py37', 'py38'] +target-version = ['py36', 'py37', 'py38'] include = '\.pyi?$' exclude = ''' ( diff --git a/setup.py b/setup.py index 2a957c2..565a442 100644 --- a/setup.py +++ b/setup.py @@ -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", diff --git a/tox.ini b/tox.ini index 7f65f83..3351156 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py34, py35, py36, py37, py38, pypy3, coverage, pep8 +envlist = py36, py37, py38, pypy3, coverage, pep8 skipsdist = True skip_missing_interpreters = True @@ -7,18 +7,18 @@ skip_missing_interpreters = True 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 .