Skip to content

Commit 670cee3

Browse files
committed
#102 pyproject.toml: Add config for Pyright
We don't run this in the CI yet, but my NeoVim uses PyRight, so this gets rid of some in-editor errors for me 😛
1 parent 4ea74f5 commit 670cee3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,11 @@ target-version = "py310"
88
# Ignore star-imports
99
# TODO #102: This is definitely fixable, but for now, postponing the clean-up of all imports
1010
ignore = ["F403", "F405"]
11+
12+
13+
[tool.pyright]
14+
include = ["bin"]
15+
exclude = ["bin/misc"]
16+
executionEnvironments = [
17+
{ root = "bin" },
18+
]

0 commit comments

Comments
 (0)