Skip to content

Commit

Permalink
fix: updating pyright
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanleomk committed Dec 25, 2024
1 parent 17ee012 commit d25ce3a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
33 changes: 17 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,3 @@
[tool.pyright]
include = ["instructor"]
exclude = [
"**/node_modules",
"**/__pycache__",
"src/experimental",
"src/typestubs",
"**/tests/**",
]
pythonVersion = "3.9"
typeCheckingMode = "strict"
# Allow "redundant" runtime type-checking.
reportUnnecessaryIsInstance = "none"
reportUnnecessaryTypeIgnoreComment = "error"

[project]
authors = [
{name = "Jason Liu", email = "jason@jxnl.co"},
Expand Down Expand Up @@ -40,6 +25,22 @@ readme = "README.md"
[project.urls]
repository = "https://github.com/jxnl/instructor"

[tool.pyright]
include = ["instructor"]
exclude = [
"**/node_modules",
"**/__pycache__",
"src/experimental",
"src/typestubs",
"**/tests/**",
]

reportMissingImports = "error"
reportMissingTypeStubs = false

pythonVersion = "3.9"
pythonPlatform = "Linux"

[project.optional-dependencies]
test-docs = [
"fastapi<0.116.0,>=0.109.2",
Expand Down Expand Up @@ -87,7 +88,7 @@ dev = [
"pytest<9.0.0,>=8.3.3",
"pytest-asyncio<1.0.0,>=0.24.0",
"coverage<8.0.0,>=7.3.2",
"pyright<2.0.0,>=1.1.360",
"pyright<2.0.0",
"jsonref<2.0.0,>=1.1.0",
"black<25.0.0,>=24.10.0",
]
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d25ce3a

Please sign in to comment.