Skip to content

Commit 6afd919

Browse files
committed
pyproject.toml: Make use of Pyright and Ruff
1 parent dc8c8de commit 6afd919

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

pyproject.toml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,18 @@ include-package-data = true
3737
"sdl3" = ["*.py"]
3838

3939
[tool.setuptools.dynamic]
40-
version = {attr = "sdl3.__version__"}
40+
version = {attr = "sdl3.__version__"}
41+
42+
[tool.pyright]
43+
pythonVersion = "3.10"
44+
45+
[tool.ruff]
46+
target-version = "py310"
47+
48+
[tool.ruff.lint.flake8-quotes]
49+
inline-quotes = "double"
50+
docstring-quotes = "double"
51+
52+
[tool.ruff.format]
53+
quote-style = "double"
54+
indent-style = "tab"

0 commit comments

Comments
 (0)