Skip to content

Commit 4b89791

Browse files
scripts: update target python version to 3.10
1 parent d59ea80 commit 4b89791

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

scripts/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
[tool.black]
88
line-length = 88
9-
target-version = ["py39"]
9+
target-version = ["py310"]
1010

1111
[tool.ruff]
1212
line-length = 88
13-
target-version = "py39"
13+
target-version = "py310"
1414

1515
[tool.ruff.lint]
1616
select = [
@@ -36,4 +36,4 @@ ignore = [
3636
[tool.mypy]
3737
strict = true
3838
ignore_missing_imports = true
39-
python_version = "3.9"
39+
python_version = "3.10"

scripts/upgrade-operator-sdk.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
anonymous rate limit when querying the releases API.
2121
"""
2222

23-
from __future__ import annotations
24-
2523
import argparse
2624
import json
2725
import os

0 commit comments

Comments
 (0)