Skip to content

Commit e3a29bb

Browse files
committed
Add pyright dependencies
1 parent 7ce8147 commit e3a29bb

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

templates/test-project/pyproject.toml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,26 @@ authors = [
77
]
88
readme = "README.md"
99
requires-python = ">=3.9,<4.0"
10-
dependencies = [
11-
"ni-python-styleguide (>=0.4.7,<0.5.0)",
12-
"mypy (>=1.18.1,<2.0.0)"
13-
]
10+
dynamic = ["dependencies"]
1411

1512
[tool.poetry]
1613
packages = [{include = "test_project", from = "src"}]
1714

15+
[tool.poetry.group.lint.dependencies]
16+
ni-python-styleguide = ">=0.4.1"
17+
mypy = ">=1.0"
18+
pyright = { version = ">=1.1.400", extras = ["nodejs"] }
19+
1820
[tool.mypy]
1921
mypy_path = "."
2022
files = "."
2123
namespace_packages = true
2224
strict = true
2325
explicit_package_bases = true
2426

27+
[tool.pyright]
28+
include = ["src/", "tests/"]
29+
2530
[build-system]
2631
requires = ["poetry-core>=2.0.0,<3.0.0"]
2732
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)