From 5adcfddd8b8bd78a721374a85d97fe88b7cafe06 Mon Sep 17 00:00:00 2001 From: Francois-Michel L'Heureux Date: Tue, 20 Aug 2024 21:29:10 -0400 Subject: [PATCH] Fix docs rule PT001 Example / Use instead have proper content. --- .../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(): ... /// ``` ///