Skip to content

Commit

Permalink
unpin pyright (#202)
Browse files Browse the repository at this point in the history
* Update .pre-commit-config.yaml

* add `pyright.reportUnboundVariable="warning"` option
  • Loading branch information
Kallinteris-Andreas authored Dec 31, 2023
1 parent 3e42c30 commit 43deebe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ repos:
language: node
pass_filenames: false
types: [python]
additional_dependencies: ["pyright@1.1.339"]
additional_dependencies: ["pyright"]
args:
- --project=pyproject.toml
- repo: https://github.com/pycqa/pydocstyle
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ enableTypeIgnoreComments = true

# This is required as the CI pre-commit does not download the module (i.e. numpy)
# Therefore, we have to ignore missing imports

reportMissingImports = "none"
reportUnboundVariable = "warning"

reportGeneralTypeIssues = "none" # -> commented out raises 489 errors

0 comments on commit 43deebe

Please sign in to comment.