Skip to content

Commit 62a44f6

Browse files
authored
Merge pull request #489 from chirizxc/ruff-config
chore(ruff): override Python version to 3.12 for files using PEP 695 syntax
2 parents e4e7304 + c2c7bad commit 62a44f6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.ruff.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ src = ["src"]
55
include = ["src/**.py", "tests/**.py"]
66
exclude = [
77
"src/dishka/_adaptix/**",
8-
"tests/unit/container/type_alias_type_provider.py",
9-
"tests/unit/container/pep695_new_syntax.py",
108
]
119

1210
lint.select = [
@@ -49,6 +47,10 @@ lint.ignore = [
4947
"PLW1641",
5048
]
5149

50+
[per-file-target-version]
51+
"tests/unit/container/type_alias_type_provider.py" = "py312"
52+
"tests/unit/container/pep695_new_syntax.py" = "py312"
53+
5254
[lint.isort]
5355
no-lines-before = ["local-folder"]
5456

0 commit comments

Comments
 (0)