Skip to content

Commit

Permalink
Fix Flake8, drop support for Python 3.4 and 3.5
Browse files Browse the repository at this point in the history
modified:   .travis.yml
modified:   CHANGES.rst
modified:   pyproject.toml
modified:   setup.py
modified:   tox.ini
  • Loading branch information
jugmac00 committed Oct 2, 2020
1 parent ed4217c commit 3398627
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.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ CHANGES
0.4 (unreleased)
----------------

- Nothing changed yet.
- Fix Flake8.

- Drop support for Python 3.4 and 3.5.


0.3 (2020-04-26)
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 @@ -23,8 +23,6 @@
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"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, pep8, coverage
envlist = py36, py37, py38, pypy3, pep8, coverage
skipsdist = True
skip_missing_interpreters = True

[testenv]
usedevelop = True
extras = test

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

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

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

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

commands = py.test --cov --cov-fail-under=100 {posargs}
commands = pytest --cov --cov-fail-under=100 {posargs}

0 comments on commit 3398627

Please sign in to comment.