Skip to content

Commit f310571

Browse files
committed
Let Ruff take its target version from requires-python
An explicit `target-version` has to be edited by hand whenever the supported Python floor moves. Without it, Ruff reads the minimum version from `requires-python`, which resolves to the same `py310` today.
1 parent 1062f55 commit f310571

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎pyproject.toml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ Homepage = "https://github.com/SocketDev/socket-sdk-python"
6363
[tool.ruff]
6464
# The formatter owns physical layout. E501 and W291/W293 are unselected:
6565
# whitespace inside help text, log messages, and Markdown strings is content.
66-
target-version = "py310"
6766
line-length = 120
6867
exclude = [
6968
".bzr",

0 commit comments

Comments
 (0)