mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-19 01:50:38 +00:00
Remove unnecessary PreviewMode::Enabled
in tests (#15344)
This commit is contained in:
parent
75fc2c3116
commit
71b6ac81a6
1 changed files with 0 additions and 2 deletions
|
@ -12,7 +12,6 @@ mod tests {
|
||||||
|
|
||||||
use crate::registry::Rule;
|
use crate::registry::Rule;
|
||||||
use crate::settings::types::IdentifierPattern;
|
use crate::settings::types::IdentifierPattern;
|
||||||
use crate::settings::types::PreviewMode;
|
|
||||||
use crate::test::test_path;
|
use crate::test::test_path;
|
||||||
use crate::{assert_messages, settings};
|
use crate::{assert_messages, settings};
|
||||||
|
|
||||||
|
@ -302,7 +301,6 @@ mod tests {
|
||||||
.join(Path::new("PT006_and_PT007.py"))
|
.join(Path::new("PT006_and_PT007.py"))
|
||||||
.as_path(),
|
.as_path(),
|
||||||
&settings::LinterSettings {
|
&settings::LinterSettings {
|
||||||
preview: PreviewMode::Enabled,
|
|
||||||
..settings::LinterSettings::for_rules(vec![
|
..settings::LinterSettings::for_rules(vec![
|
||||||
Rule::PytestParametrizeNamesWrongType,
|
Rule::PytestParametrizeNamesWrongType,
|
||||||
Rule::PytestParametrizeValuesWrongType,
|
Rule::PytestParametrizeValuesWrongType,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue