Skip to content

Commit

Permalink
drop support for python <3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
benbariteau committed Sep 27, 2022
1 parent b751a28 commit 53f76a0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
sha: v0.3.5
hooks:
- id: reorder-python-imports
language_version: python2.7
language_version: python3.7
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
[wheel]
universal = True

[pep8]
ignore = E265,E309,E501
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"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",
],
python_requires=">=3.7",
)
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = pre-commit, py27, py35, py36, py37, flake8, pre-commit
envlist = pre-commit, py37, py38, flake8, pre-commit

[testenv]
deps = -rrequirements-dev.txt
Expand All @@ -9,18 +9,18 @@ commands =
coverage report -m --show-missing --fail-under 100

[testenv:pre-commit]
basepython = python3.7
basepython = python3.8
deps = pre-commit
commands = pre-commit {posargs:run --all-files}

[testenv:flake8]
basepython = python3.7
basepython = python3.8
deps = flake8
commands =
flake8 pyramid_zipkin tests

[testenv:docs]
basepython = python3.7
basepython = python3.8
deps = {[testenv]deps}
sphinx
changedir = docs
Expand Down

0 comments on commit 53f76a0

Please sign in to comment.