diff --git a/crates/ruff_linter/src/rules/flake8_pytest_style/rules/parametrize.rs b/crates/ruff_linter/src/rules/flake8_pytest_style/rules/parametrize.rs index bbc4957fb5cfb1..d71eb361fce407 100644 --- a/crates/ruff_linter/src/rules/flake8_pytest_style/rules/parametrize.rs +++ b/crates/ruff_linter/src/rules/flake8_pytest_style/rules/parametrize.rs @@ -226,6 +226,10 @@ impl Violation for PytestParametrizeValuesWrongType { /// ... /// ``` /// +/// ## Fix safety +/// This rule's fix is marked as unsafe, as tests that rely on mutable global +/// state may be affected by removing duplicate test cases. +/// /// ## References /// - [`pytest` documentation: How to parametrize fixtures and test functions](https://docs.pytest.org/en/latest/how-to/parametrize.html#pytest-mark-parametrize) #[violation]