Skip to content

Commit 21187c2

Browse files
committed
Target Python 3.7+, enable Ruff upgrades
1 parent e42ffa1 commit 21187c2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ 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 =

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)