mirror of https://github.com/astral-sh/ruff
<!-- Thank you for contributing to Ruff/ty! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? (Please prefix with `[ty]` for ty pull requests.) - Does this pull request include references to any relevant issues? --> ## Summary Was looking over that PR and this looked wrong. panic introduced in #22076 ## Test Plan Before running: ```bash cargo run -p ty check test.py --force-exclude --no-progress ``` would result in a panic ```text thread 'main' (162713) panicked at crates/ty/src/args.rs:459:17: internal error: entered unreachable code: Clap should make this impossible note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` Now it does not. |
||
|---|---|---|
| .. | ||
| args.rs | ||
| lib.rs | ||
| logging.rs | ||
| main.rs | ||
| printer.rs | ||
| python_version.rs | ||
| version.rs | ||