detect unreachable `except` blocks
Open
typechecking
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 516
- PR merge metrics
- No merged PRs in 30d
Description
```py
try:
...
except BaseException:
...
except Exception: # unreachable
...
```
pyright has a rule for this: `reportUnusedExcept` but maybe it makes sense for this under the existing `unreachable` code
Contributor guide
Assessment
This issue has not been assessed yet.