Skip to content

Commit

Permalink
Fix all reportInvalidTypeArguments (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam authored Nov 7, 2024
1 parent 9911ac0 commit 27cb9ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ extra-standard-library = [
]

[tool.pyright]
exclude = ["build", ".git"]
# Target oldest supported Python version
pythonversion = "3.9"
typeCheckingMode = "standard"
Expand Down Expand Up @@ -111,7 +112,6 @@ reportUnsupportedDunderAll = "error"
reportAssertTypeFailure = "none" # TODO
reportAttributeAccessIssue = "none" # TODO
reportGeneralTypeIssues = "none" # TODO
reportInvalidTypeArguments = "none" # TODO
reportInvalidTypeForm = "none" # TODO
reportMissingImports = "none" # TODO
reportUndefinedVariable = "none" # TODO
Expand Down
4 changes: 1 addition & 3 deletions stubs/sympy-stubs/functions/special/bessel.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,7 @@ class hn1(SphericalHankelBase):
class hn2(SphericalHankelBase):
_hankel_kind_sign = ...

def jn_zeros(
n, k, method=..., dps=...
) -> list[Any | Float] | list[Any | NDArray[Any, Any] | NDArray[floating[Any], Any] | tuple[Any, Any] | Any]: ...
def jn_zeros(n, k, method=..., dps=...) -> list[Any | Float] | list[Any | NDArray[Any, Any] | tuple[Any, Any] | Any]: ...

class AiryBase(Function):
def as_real_imag(self, deep=..., **hints) -> tuple[Any, Any]: ...
Expand Down

0 comments on commit 27cb9ac

Please sign in to comment.