Skip to content

Commit c6b4b96

Browse files
committed
feat: update ruff configs
1 parent b3b0246 commit c6b4b96

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

pyproject.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1+
[tool.ruff]
2+
line-length = 88 # Match Black's formatting
3+
src = ["supertokens_python"]
4+
5+
[tool.ruff.lint]
6+
extend-select = ["I"] # enable import sorting
7+
8+
[tool.ruff.format]
9+
quote-style = "double" # Default
10+
indent-style = "space" # Default
11+
112
[tool.pyright]
213
typeCheckingMode = "strict"
314
reportImportCycles = false
4-
515
include = ["supertokens_python/", "tests/", "examples/"]
616

717
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)