Skip to content

Commit

Permalink
update pyright to 1.1.383 (#1200)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas authored Oct 16, 2024
1 parent 5bf8d5f commit b5ab287
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ repos:
language: node
pass_filenames: false
types: [python]
additional_dependencies: ["[email protected].347"]
additional_dependencies: ["[email protected].383"]
args:
- --project=pyproject.toml
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,23 @@ reportInvalidTypeVarUse = "none"
# reportUnknownArgumentType = "warning" # -> raises 2104 warnings
reportGeneralTypeIssues = "none" # -> commented out raises 489 errors
# reportUntypedFunctionDecorator = "none" # -> pytest.mark.parameterize issues
reportAttributeAccessIssue = "none"
reportArgumentType = "none"

reportPrivateUsage = "warning"
reportUnboundVariable = "warning"

reportPrivateImportUsage = "none" # -> commented out raises 144 errors

reportIndexIssue = "none" # TODO fix one by one
reportReturnType = "none" # TODO fix one by one
reportCallIssue = "none" # TODO fix one by one
reportOperatorIssue = "none" # TODO fix one by one
reportInvalidTypeForm = "none" # TODO fix one by one
reportOptionalMemberAccess = "none" # TODO fix one by one
reportRedeclaration = "none" # TODO fix one by one
reportAssignmentType = "none" # TODO fix one by one


[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning:gymnasium.*:"]

0 comments on commit b5ab287

Please sign in to comment.