Skip to content

Commit fc925b1

Browse files
authored
update tox python target (#213)
1 parent 4036dce commit fc925b1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ select = [
2929
"N",
3030
]
3131

32+
ignore = [
33+
"UP017", # remove and fix once 3.10 not tested in CI
34+
]
35+
3236
[tool.mypy]
3337
follow_imports = "silent"
3438
warn_redundant_casts = true

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = Kubernetes operator that cleans up external resources for Cluster
55
author = Matt Pryor
66
author_email = [email protected]
77
url = https://github.com/azimuth-cloud/cluster-api-janitor-openstack
8-
8+
python-requires = ">=3.10"
99

1010
[options]
1111
zip_safe = False

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
minversion = 4.0.0
33
# We run autofix last, to ensure CI fails,
44
# even though we do our best to autofix locally
5-
envlist = py3,ruff,black,codespell,mypy,autofix
5+
envlist = py3,ruff,codespell,mypy,autofix
66
skipsdist = True
77

88
[testenv]
@@ -19,7 +19,6 @@ commands = stestr run {posargs}
1919

2020
[testenv:autofix]
2121
commands =
22-
black {tox_root}
2322
ruff format {tox_root}
2423
codespell {tox_root} -w
2524
ruff check {tox_root} --fix

0 commit comments

Comments
 (0)