Skip to content

Commit 784ecb3

Browse files
committed
Removes Python 3.6
1 parent c4b1ee9 commit 784ecb3

File tree

7 files changed

+11
-17
lines changed

7 files changed

+11
-17
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
[flake8]
2+
ignore = E203
23
max-line-length = 80

.github/workflows/build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
strategy:
1010
matrix:
1111
python:
12-
- { VERSION: "3.6", TOXENV: "py36", ALLOW_FAILURE: false }
1312
- { VERSION: "3.7", TOXENV: "py37", ALLOW_FAILURE: false }
1413
- { VERSION: "3.8", TOXENV: "py38",ALLOW_FAILURE: false }
1514
- { VERSION: "3.9", TOXENV: "py39",ALLOW_FAILURE: false }

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ repos:
1717
rev: v3.8.2
1818
hooks:
1919
- id: reorder-python-imports
20-
args: [--application-directories, '.:src', --py36-plus]
20+
args: [--application-directories, '.:src', --py37-plus]
2121
- repo: https://github.com/psf/black
2222
rev: 22.6.0
2323
hooks:
@@ -26,7 +26,7 @@ repos:
2626
rev: v2.37.3
2727
hooks:
2828
- id: pyupgrade
29-
args: [--py36-plus]
29+
args: [--py37-plus]
3030
#- repo: https://github.com/pre-commit/mirrors-mypy
3131
# rev: v0.910
3232
# hooks:
@@ -40,4 +40,4 @@ repos:
4040
rev: v2.0.0
4141
hooks:
4242
- id: setup-cfg-fmt
43-
args: [--min-py3-version, '3.6']
43+
args: [--min-py3-version, '3.7']

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
github3.py is a comprehensive, actively developed, and extraordinarily stable
55
wrapper around the GitHub API (v3).
66

7-
Note: This library currently works with Python 3.6+ or pypy3. For older versions, please use version 1.3.0.
7+
Note: This library currently works with Python 3.7+ or pypy3. For older versions, please use version 1.3.0.
88

99
Installation
1010
------------

docs/source/index.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ The tests are generally run using tox. Tox can be installed like so
123123
124124
We test against PyPy3 and the following versions of Python:
125125

126-
- 3.6
127-
128126
- 3.7
129127

130128
- 3.8

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ install_requires =
3636
python-dateutil>=2.6.0
3737
requests>=2.18
3838
uritemplate>=3.0.0
39-
typing-extensions>=3.10.0.2;python_version < "3.7"
40-
python_requires = >=3.6
39+
python_requires = >=3.7
4140
package_dir =
4241
=src
4342

tox.ini

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{36,37,38,39,py3},black,flake8,doclint,commitlint,docstrings
2+
envlist = py{37,38,39,py3},black,flake8,doclint,commitlint,docstrings
33
minversion = 3.1.3
44

55
[testenv]
@@ -17,7 +17,7 @@ commands = pytest {posargs}
1717
[testenv:flake8]
1818
skip_install = true
1919
deps =
20-
flake8 >= 3.8.4
20+
flake8 >= 5.0.0
2121
commands = flake8 {posargs} src/github3/ tests/unit/ tests/integration/
2222

2323
[testenv:build]
@@ -33,18 +33,18 @@ pip_pre = true
3333
skip_install = true
3434
basepython = python3
3535
deps =
36-
black >= 21.9b0
36+
black >= 22.6.0
3737
commands = black src/github3/ tests/
3838

3939
[testenv:notebooks]
40-
basepython = python3.6
40+
basepython = python3.7
4141
deps =
4242
ipython[notebook]
4343
commands = python tests/nbtest.py
4444

4545
[testenv:py39-docstrings]
4646
deps =
47-
flake8 >= 3.8.4
47+
flake8 >= 5.0.0
4848
commands = flake8 {posargs} src/github3/ tests/unit/ tests/integration/
4949

5050
[testenv:venv]
@@ -108,6 +108,3 @@ norecursedirs = *.egg .git .* _*
108108

109109
[doc8]
110110
ignore-path-errors = docs/source/release-notes/1.0.0.rst;D001
111-
112-
[flake8]
113-
extend-ignore = E203

0 commit comments

Comments
 (0)