ruff/ruff_cli/tests
Martin Fischer 8ac930f886 Fix that --explain panics
This commit fixes a bug accidentally introduced in
6cf770a692,
which resulted every `ruff --explain <code>` invocation to fail with:

    thread 'main' panicked at 'Mismatch between definition and access of `explain`.
    Could not downcast to ruff::registry::Rule, need to downcast to &ruff::registry::Rule',
    ruff_cli/src/cli.rs:184:18

We also add an integration test for --explain to prevent such bugs from
going by unnoticed in the future.
2023-01-19 12:58:44 -05:00
..
black_compatibility_test.rs Split up the table corresponding to the pylint rules (#1868) 2023-01-14 08:07:02 -05:00
integration_test.rs Fix that --explain panics 2023-01-19 12:58:44 -05:00