From dedefd73dac18ea112cea1254fea6388fe67237b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Michel=20L=27Heureux?= Date: Wed, 21 Aug 2024 00:04:18 -0400 Subject: [PATCH] Update example for `PT001` as per the new default behavior (#13019) ## Summary Example / Use instead were not updated with the release of ruff 0.6.0. This updates them accordingly. --- .../src/rules/flake8_pytest_style/rules/fixture.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruff_linter/src/rules/flake8_pytest_style/rules/fixture.rs b/crates/ruff_linter/src/rules/flake8_pytest_style/rules/fixture.rs index 3003a32de4655..d0310883ac2e8 100644 --- a/crates/ruff_linter/src/rules/flake8_pytest_style/rules/fixture.rs +++ b/crates/ruff_linter/src/rules/flake8_pytest_style/rules/fixture.rs @@ -42,7 +42,7 @@ use super::helpers::{ /// import pytest /// /// -/// @pytest.fixture +/// @pytest.fixture() /// def my_fixture(): ... /// ``` /// @@ -52,7 +52,7 @@ use super::helpers::{ /// import pytest /// /// -/// @pytest.fixture() +/// @pytest.fixture /// def my_fixture(): ... /// ``` ///