Skip to content

Commit f7697dd

Browse files
authored
Merge pull request #128 from akx/yeet-py36
Drop Python 3.6 support
2 parents 70f03c6 + 21187c2 commit f7697dd

File tree

5 files changed

+5
-42
lines changed

5 files changed

+5
-42
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
strategy:
2020
matrix:
2121
tox_env:
22-
- py36
2322
- py37
2423
- py38
2524
- py39

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ python setup.py install
2424

2525
### Supported Python versions in API v2.0.1
2626

27-
- Python 3.6
2827
- Python 3.7
2928
- Python 3.8
3029
- Python 3.9

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
[tool.black]
22
line-length = 99
3-
target-version = ['py36']
3+
target-version = ['py37']
44
skip-string-normalization = true
55

66
[tool.ruff]
7+
target-version = "py37"
78
exclude = [
89
".git",
910
"ENV",
@@ -34,6 +35,7 @@ select = [
3435
"F",
3536
"I",
3637
"S",
38+
"UP",
3739
"W",
3840
]
3941

setup.cfg

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,48 +11,11 @@ packages=['upcloud_api', 'upcloud_api.cloud_manager']
1111
license = MIT
1212

1313
[options]
14-
python_requires = >=3.6, <4
14+
python_requires = >=3.7, <4
1515
setup_requires =
1616
setuptools
1717
install_requires =
1818
requests
1919
packages =
2020
upcloud_api
2121
upcloud_api.cloud_manager
22-
23-
[bdist_wheel]
24-
universal = 1
25-
26-
[flake8]
27-
max-line-length = 99
28-
extend-ignore =
29-
# ignore line length problems; those are fixed by black
30-
E501
31-
# via black
32-
E203
33-
W503
34-
# docstring format leniency
35-
D100
36-
D104
37-
D105
38-
D200
39-
D202
40-
D205
41-
D400
42-
D401
43-
D403
44-
# things from `hacking` we don't care about
45-
H101
46-
H301
47-
H306
48-
H404
49-
H405
50-
per-file-ignores =
51-
test/*: D101,D102,D103,F841,S101,S106,B011
52-
# ignore "imported but not used" in any __init__.pys
53-
*/__init__.py: F401
54-
exclude =
55-
.git
56-
ENV
57-
__pycache__
58-
build

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py36, py37, py38, py39, pypy3
7+
envlist = py37, py38, py39, pypy3
88
skip_missing_interpreters = True
99

1010
[testenv]

0 commit comments

Comments
 (0)