ruff
[`pycodestyle`] Do not trigger `E3` rules on defs following a function/method with a dummy body
#10704
Merged

[`pycodestyle`] Do not trigger `E3` rules on defs following a function/method with a dummy body #10704

MichaReiser merged 8 commits into astral-sh:main from hoel-bagard:fix-10211
hoel-bagard
hoel-bagard add no error tests
81618311
hoel-bagard allow a def to directly follow a function with a dummy body.
697c57da
hoel-bagard update fixture
671ed1d2
github-actions
hoel-bagard hoel-bagard marked this pull request as ready for review 1 year ago
MichaReiser MichaReiser added rule
MichaReiser MichaReiser added preview
MichaReiser
MichaReiser commented on 2024-04-08
hoel-bagard do not apply dummy def to classes.
09d0bdd2
hoel-bagard put dummy def check in a helper function.
6751ef14
hoel-bagard hoel-bagard force pushed from fb60e08f to 6751ef14 1 year ago
hoel-bagard add tests and update fixtures
71975001
MichaReiser
hoel-bagard hoel-bagard requested a review from MichaReiser MichaReiser 1 year ago
hoel-bagard Do not allow a single blank line between overloads and function.
ad7e4664
hoel-bagard Add test and update snapshots
75734d53
hoel-bagard hoel-bagard force pushed from 758835e5 to 75734d53 1 year ago
hoel-bagard
MichaReiser
MichaReiser approved these changes on 2024-04-15
MichaReiser MichaReiser merged 670d66f5 into main 1 year ago
hoel-bagard hoel-bagard deleted the fix-10211 branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone