mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 21:34:57 +00:00
[ruff 0.8] [flake8-pytest-style
] Remove deprecated rules PT004 and PT005 (#14385)
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
parent
1081694140
commit
c400725713
10 changed files with 29 additions and 236 deletions
|
@ -55,6 +55,7 @@ pub(crate) fn violation(violation: &ItemStruct) -> Result<TokenStream> {
|
|||
|
||||
#[allow(deprecated)]
|
||||
#[automatically_derived]
|
||||
#[allow(deprecated)]
|
||||
impl From<#ident> for ruff_diagnostics::DiagnosticKind {
|
||||
fn from(value: #ident) -> Self {
|
||||
use ruff_diagnostics::Violation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue