Skip to content

Commit 06f6162

Browse files
committed
Change black/ruff target version to python 3.11
1 parent 09e9101 commit 06f6162

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ repos:
1616
# supported by your project here, or alternatively use
1717
# pre-commit's default_language_version, see
1818
# https://pre-commit.com/#top_level-default_language_version
19-
language_version: python3.10
19+
language_version: python3.11
2020
- repo: https://github.com/pycqa/isort
2121
rev: 5.12.0
2222
hooks:

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 110
3-
target-version = ["py310"]
3+
target-version = ["py311"]
44

55
[tool.isort]
66
profile = "black"
@@ -26,7 +26,7 @@ select = [
2626
"N", # pep8-naming
2727
"W", # pycodestyle
2828
]
29-
target-version = "py310"
29+
target-version = "py311"
3030
extend-select = [
3131
"RUF100", # Warn about unused noqa
3232
]

0 commit comments

Comments
 (0)