Skip to content

Commit

Permalink
Add pyright to dev tools in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mhauru committed Nov 17, 2023
1 parent 7b9c684 commit 2e389f0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sql/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@ sqlalchemy = "^2.0.0"
pandas = "^2.0.1"

[tool.poetry.dev-dependencies]
pyright = "^1"

[build-system]
requires = ["setuptools", "poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

[tool.pyright]
# These are the only files for which, so far, we have checked that pyright passes.
# To be expanded as more type hints are added.
include = [
"snsql/metadata.py",
"snsql/sql/reader/base.py",
]

0 comments on commit 2e389f0

Please sign in to comment.