---
source: crates/ruff/src/rules/flake8_pytest_style/mod.rs
---
PT002.py:14:2: PT002 Configuration for fixture `my_fixture` specified via positional args, use kwargs
   |
14 | @pytest.fixture("module")
   |  ^^^^^^^^^^^^^^^^^^^^^^^^ PT002
15 | def my_fixture():  # Error only args
16 |     return 0
   |

PT002.py:19:2: PT002 Configuration for fixture `my_fixture` specified via positional args, use kwargs
   |
19 | @pytest.fixture("module", autouse=True)
   |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PT002
20 | def my_fixture():  # Error mixed
21 |     return 0
   |


