ruff/crates/ruff_linter
Charlie Marsh 95e2f632e6
Retain extra ellipses in protocols and abstract methods (#8769)
## Summary

It turns out that some type checkers rely on the presence of ellipses in
`Protocol` interfaces and abstract methods, in order to differentiate
between default implementations and stubs. This PR modifies the preview
behavior of `PIE790` to avoid flagging "unnecessary" ellipses in such
cases.

Closes https://github.com/astral-sh/ruff/issues/8756.

## Test Plan

`cargo test`
2023-11-19 10:05:29 -05:00
..
resources/test Retain extra ellipses in protocols and abstract methods (#8769) 2023-11-19 10:05:29 -05:00
src Retain extra ellipses in protocols and abstract methods (#8769) 2023-11-19 10:05:29 -05:00
Cargo.toml Bump version to v0.1.6 (#8744) 2023-11-17 13:29:19 -05:00