ruff/crates
Charlie Marsh 099d5414f2
Allow non-verbose raise when cause is present (#2816)
The motivating issue here is of the following form:

```py
try:
    raise Exception("We want to hide this error message")
except Exception:
    try:
        raise Exception("We want to show this")
    except Exception as exc:
        raise exc from None
```

However, I think we should avoid this if _any_ cause is present, since causes require a named exception.

Closes #2814.
2023-02-12 16:48:13 +00:00
..
flake8_to_ruff Bump version to 0.0.245 2023-02-10 22:15:27 -05:00
ruff Allow non-verbose raise when cause is present (#2816) 2023-02-12 16:48:13 +00:00
ruff_cli Remove public re-export of commands (#2801) 2023-02-12 04:59:35 +00:00
ruff_dev refactor: Move name out of OptionField & OptionGroup 2023-02-11 23:43:09 -05:00
ruff_macros refactor: Move name out of OptionField & OptionGroup 2023-02-11 23:43:09 -05:00
ruff_python Bump version to 0.0.245 2023-02-10 22:15:27 -05:00