diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aee1d937..6ebaea8c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index ecaf5295..3e482142 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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