[ruff 0.8] [flake8-pytest-style] Remove deprecated rules PT004 and PT005#14385
Merged
MichaReiser merged 2 commits intoruff-0.8from Nov 19, 2024
Merged
[ruff 0.8] [flake8-pytest-style] Remove deprecated rules PT004 and PT005#14385MichaReiser merged 2 commits intoruff-0.8from
flake8-pytest-style] Remove deprecated rules PT004 and PT005#14385MichaReiser merged 2 commits intoruff-0.8from
Conversation
flake8-pytest-style] Remove deprecated rules PT004 and PT005
Contributor
|
| code | total | + violation | - violation | + fix | - fix |
|---|---|---|---|---|---|
| PT004 | 3 | 0 | 3 | 0 | 0 |
| RUF100 | 1 | 1 | 0 | 0 | 0 |
Linter (preview)
✅ ecosystem check detected no linter changes.
Member
Author
|
Ecosystem report analysis:
|
Member
Author
|
Same concern as #14384 (comment) about merging this now... |
MichaReiser
approved these changes
Nov 16, 2024
This was referenced Nov 17, 2024
10c6a2a to
5532cc0
Compare
bd7d7c8 to
f18bd01
Compare
MichaReiser
reviewed
Nov 19, 2024
crates/ruff_linter/src/rules/flake8_pytest_style/rules/fixture.rs
Outdated
Show resolved
Hide resolved
Merged
AlexWaygood
added a commit
that referenced
this pull request
Nov 19, 2024
…PT005 (#14385) Co-authored-by: Micha Reiser <[email protected]>
MichaReiser
added a commit
that referenced
this pull request
Nov 20, 2024
…PT005 (#14385) Co-authored-by: Micha Reiser <[email protected]>
MichaReiser
added a commit
that referenced
this pull request
Nov 20, 2024
…PT005 (#14385) Co-authored-by: Micha Reiser <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Remove PT004 and PT005. These were deprecated in #12837, which landed as part of Ruff 0.6 (released on August 15th). There are no open issues on the tracker asking us to undeprecate them.
Test Plan
cargo testgit grep PytestMissingFixtureNameUnderscore,git grep PytestIncorrectFixtureNameUnderscore,git grep PT004andgit grep PT005all show no results