ruff/crates/ruff_linter/resources/test/fixtures
Charlie Marsh be3307e9a6
Make `unnecessary-paren-on-raise-exception` an unsafe edit (#8231)
## Summary

This rule is now unsafe if we can't verify that the `obj` in `raise
obj()` is a class or builtin. (If we verify that it's a function, we
don't raise at all, as before.)

See the documentation change for motivation behind the unsafe edit.

Closes https://github.com/astral-sh/ruff/issues/8228.
2023-10-26 11:33:54 -04:00
..
airflow Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
control-flow-graph Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
eradicate Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
filesystem Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_2020 Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_annotations Use fixed source code for parser context (#7717) 2023-09-29 14:10:32 -04:00
flake8_async Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_bandit Remove Python 2-only methods from URLOpen audit (#8047) 2023-10-18 14:49:54 +00:00
flake8_blind_except Add `Expr::Name` checks to rules which use `is_logger_candidate` (#7521) 2023-09-27 00:21:22 +00:00
flake8_boolean_trap Add `sqlalchemy` methods to boolean-trap exclusion list (#7874) 2023-10-09 18:50:51 +00:00
flake8_bugbear Insert necessary padding in B014 fixes (#7699) 2023-09-28 21:11:09 +00:00
flake8_builtins Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_commas Rename `Autofix` to `Fix` (#7657) 2023-09-28 10:53:05 +00:00
flake8_comprehensions Preserve trailing comments in C414 fixes (#7775) 2023-10-03 04:36:51 +00:00
flake8_datetimez Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_debugger Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_django Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_errmsg Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_executable Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_fixme Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_future_annotations Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_gettext Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_implicit_str_concat Add support for PEP 701 (#7376) 2023-09-29 02:55:39 +00:00
flake8_import_conventions Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_logging Add `Expr::Name` checks to rules which use `is_logger_candidate` (#7521) 2023-09-27 00:21:22 +00:00
flake8_logging_format Add `Expr::Name` checks to rules which use `is_logger_candidate` (#7521) 2023-09-27 00:21:22 +00:00
flake8_no_pep420 Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_pie fix edge case with PIE804 (#7922) 2023-10-11 15:05:49 -04:00
flake8_print Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_pyi Add autofix for `PYI055` (#7886) 2023-10-13 00:56:34 +00:00
flake8_pytest_style Rename `Autofix` to `Fix` (#7657) 2023-09-28 10:53:05 +00:00
flake8_quotes Add support for PEP 701 (#7376) 2023-09-29 02:55:39 +00:00
flake8_raise Make `unnecessary-paren-on-raise-exception` an unsafe edit (#8231) 2023-10-26 11:33:54 -04:00
flake8_return Rename `Autofix` to `Fix` (#7657) 2023-09-28 10:53:05 +00:00
flake8_self Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_simplify [`SIM112`] Ignore `https_proxy`, `http_proxy`, and `no_proxy` (#8140) 2023-10-23 08:48:36 -05:00
flake8_slots Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_tidy_imports Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_todos Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_type_checking Treat type aliases as typing-only expressions (#7968) 2023-10-16 00:09:37 +00:00
flake8_unused_arguments Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
flake8_use_pathlib Show custom message for `Path.joinpath` with starred arguments (#7852) 2023-10-09 12:04:35 +00:00
flynt Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
isort Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
mccabe Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
numpy Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
pandas_vet Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
pep8_naming Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
perflint Add padding in `PERF102` fixes (#7554) 2023-09-20 19:33:54 -04:00
pycodestyle Allow `is` and `is` not for direct type comparisons (#7905) 2023-10-20 23:27:12 +00:00
pydocstyle add autofix for `D301` (#7970) 2023-10-18 02:19:29 +00:00
pyflakes Lazily evaluate all PEP 695 type alias values (#8033) 2023-10-17 21:50:26 -04:00
pygrep_hooks Expand `DeprecatedLogWarn` to check for `Expr::Atrribute` calls (#7677) 2023-09-27 11:38:52 -04:00
pylint [`pylint`] Add buffer methods to `bad-dunder-method-name` (`PLW3201`) exclusions (#8190) 2023-10-25 00:03:44 -05:00
pyupgrade Include `backports.strenum` in `deprecated-imports` (#8113) 2023-10-21 23:13:03 +00:00
refurb [refurb] Implement `read-whole-file` [`FURB101`] (#7682) 2023-10-20 16:22:38 +00:00
ruff Match rule prefixes from `external` codes setting in `unused-noqa` (#8177) 2023-10-24 22:28:35 +00:00
tryceratops Add `Expr::Name` checks to rules which use `is_logger_candidate` (#7521) 2023-09-27 00:21:22 +00:00
README.md Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00
pyproject.toml Rename `ruff` crate to `ruff_linter` (#7529) 2023-09-20 08:38:27 +02:00

README.md

fixtures

Fixture files used for snapshot testing.