Skip to content

Commit bc96834

Browse files
committed
Ensure that *pyright* does not scan the aces-system sub-module and .venv directory.
Signed-off-by: Thomas Mansencal <[email protected]>
1 parent 03a4495 commit bc96834

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ reportUnnecessaryTypeIgnoreComment = true
108108
reportUnsupportedDunderAll = false
109109
reportUnusedExpression = false
110110
reportAttributeAccessIssue = false # OpenColorIO does not have typing stubs.
111-
exclude = ["**/aces-dev"]
111+
exclude = ["**/aces-system", "**/.venv"]
112112

113113
[tool.ruff]
114114
target-version = "py310"

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def quality(
161161

162162
if pyright:
163163
message_box('Checking codebase with "Pyright"...')
164-
ctx.run("pyright --skipunannotated --level warning")
164+
ctx.run("pyright --threads --skipunannotated --level warning")
165165

166166

167167
@task

0 commit comments

Comments
 (0)