Skip to content

Commit 7b7fb7b

Browse files
Add PyRight configuration
To allow LSP type checking.
1 parent 346f9e7 commit 7b7fb7b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,14 @@ ignore = [
8181
# Unlike Flake8, default to a complexity level of 10.
8282
max-complexity = 10
8383

84-
8584
[tool.ruff.format]
8685
# Leave quote characters as the are.
8786
quote-style = "preserve"
87+
88+
[tool.pyright]
89+
include = ["python"]
90+
exclude = ["**/__pycache__"]
91+
pythonVersion = "3.6"
92+
reportMissingImports = true
93+
reportMissingModuleSource = true
94+
reportTypeCommentUsage = false

0 commit comments

Comments
 (0)