File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,7 @@ from fixture_collections import (
6767) # <- Unused imported_fixture imported from fixture_collections
6868
6969
70- def test_something (imported_fixture ):
71- ...
70+ def test_something (imported_fixture ): ...
7271```
7372
7473### ` redefined-outer-name `
@@ -130,16 +129,14 @@ import pytest
130129
131130
132131@pytest.fixture
133- def awesome_fixture ():
134- ...
132+ def awesome_fixture (): ...
135133
136134
137135@pytest.fixture
138136@pytest.mark.usefixtures (
139137 " awesome_fixture"
140138) # <- Using useless `@pytest.mark.*` decorator for fixtures
141- def another_awesome_fixture ():
142- ...
139+ def another_awesome_fixture (): ...
143140```
144141
145142### W6403 ` deprecated-positional-argument-for-pytest-fixture `
@@ -151,8 +148,7 @@ import pytest
151148
152149
153150@pytest.fixture (" module" ) # <- Using a deprecated positional arguments for fixture
154- def awesome_fixture ():
155- ...
151+ def awesome_fixture (): ...
156152```
157153
158154### F6401 ` cannot-enumerate-pytest-fixtures `
You can’t perform that action at this time.
0 commit comments