Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 0cf3348

Browse files
committed
feat(project-workflow): 🧑‍💻 fix deprecation warnings in ruff config
1 parent d3a4073 commit 0cf3348

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

project/config/ruff.toml.jinja

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
target-version = "py38"
1+
target-version = "py311"
22
line-length = 132
33
exclude = [
44
"fixtures",
55
"site",
66
]
7-
select = [
7+
lint.select = [
88
"A",
99
"ANN",
1010
"ARG",
@@ -52,7 +52,7 @@ select = [
5252
"W",
5353
"YTT",
5454
]
55-
ignore = [
55+
lint.ignore = [
5656
"A001", # Variable is shadowing a Python builtin
5757
"ANN101", # Missing type annotation for self
5858
"ANN102", # Missing type annotation for cls
@@ -70,7 +70,7 @@ ignore = [
7070
"TRY003", # Avoid specifying long messages outside the exception class
7171
]
7272

73-
[per-file-ignores]
73+
[lint.per-file-ignores]
7474
"src/*/cli.py" = [
7575
"T201", # Print statement
7676
]
@@ -85,14 +85,14 @@ ignore = [
8585
"S101", # Use of assert detected
8686
]
8787

88-
[flake8-quotes]
88+
[lint.flake8-quotes]
8989
docstring-quotes = "double"
9090

91-
[flake8-tidy-imports]
91+
[lint.flake8-tidy-imports]
9292
ban-relative-imports = "all"
9393

94-
[isort]
94+
[lint.isort]
9595
known-first-party = ["{{ python_package_import_name }}"]
9696

97-
[pydocstyle]
97+
[lint.pydocstyle]
9898
convention = "google"

0 commit comments

Comments
 (0)