Skip to content

enable reportUnreachable in basedpyright #1337

@nathanjmcdougall

Description

@nathanjmcdougall

Keep it disabled for the tests in pyproject.toml

[[tool.basedpyright.executionEnvironments]]
root = "tests"
reportUnreachable  = false

But you can remove this line from the more generic disable list.

reportUnreachable = false

The only violations are for INI integrations where we're raising an error - we can just remove this unnecessary error check.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions