ruff/scripts
Charlie Marsh f1cdd108e6
Derive explanation method on Rule struct via rustdoc (#2642)
```console
❯ cargo run rule B017
    Finished dev [unoptimized + debuginfo] target(s) in 0.13s
     Running `target/debug/ruff rule B017`
no-assert-raises-exception

Code: B017 (flake8-bugbear)

### What it does
Checks for `self.assertRaises(Exception)`.

## Why is this bad?
`assertRaises(Exception)` can lead to your test passing even if the
code being tested is never executed due to a typo.

Either assert for a more specific exception (builtin or custom), use
`assertRaisesRegex` or the context manager form of `assertRaises`.
```
2023-02-07 17:23:29 -05:00
..
benchmarks refactor: Introduce crates folder (#2088) 2023-02-05 16:47:48 -05:00
_utils.py Update .pre-commit-config.yml (#2139) 2023-01-24 19:45:34 -05:00
add_plugin.py refactor: Introduce crates folder (#2088) 2023-02-05 16:47:48 -05:00
add_rule.py Derive explanation method on Rule struct via rustdoc (#2642) 2023-02-07 17:23:29 -05:00
generate_known_standard_library.py Move python into its own ruff_python crate (#2593) 2023-02-05 17:53:58 -05:00
generate_mkdocs.py Add Fathom to docs 2023-02-01 18:41:24 -05:00
pyproject.toml Add known-standard-library for each Python version (#2491) 2023-02-02 16:22:47 -05:00
transform_readme.py Fix hardcoded url in transform_readme.py (#2487) 2023-02-02 13:59:22 -05:00