Skip to content

Commit 676476e

Browse files
committed
Remove python 2.7, 3.6 compatibility
1 parent 6a92ace commit 676476e

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.flake8

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
max-line-length = 119

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ on:
3131

3232
jobs:
3333
build:
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-latest
3535
strategy:
3636
matrix:
37-
python-version: [ '2.7', '3.6', '3.7', '3.8', '3.9', '3.10' ]
37+
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
3838
steps:
3939
- name: Checkout repository
4040
uses: actions/checkout@v3
@@ -53,7 +53,7 @@ jobs:
5353
run: tox
5454

5555
- name: Upload coverage to Codecov
56-
if: matrix.python-version == 3.6 && success()
56+
if: matrix.python-version == 3.7 && success()
5757
uses: codecov/codecov-action@v3
5858
with:
5959
files: coverage.xml

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from setuptools import setup, find_packages
66

7-
__version__ = '5.3.6'
7+
__version__ = '5.4.0'
88

99
TYPE_STUBS = ['*.pyi']
1010

tox.ini

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
isolated_build = True
33
envlist =
44
pep
5-
py27
6-
py36
75
py37
86
py38
97
py39
108
py310
9+
py311
1110

1211
[testenv]
1312
deps =
@@ -36,10 +35,8 @@ deps =
3635

3736
[gh-actions]
3837
python =
39-
2.7: py27
40-
3.5: py35
41-
3.6: pep, py36
42-
3.7: py37
38+
3.7: pep, py37
4339
3.8: py38
4440
3.9: py39
4541
3.10: py310
42+
3.11: py311

0 commit comments

Comments
 (0)