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 (
67
67
) # <- Unused imported_fixture imported from fixture_collections
68
68
69
69
70
- def test_something (imported_fixture ):
71
- ...
70
+ def test_something (imported_fixture ): ...
72
71
```
73
72
74
73
### ` redefined-outer-name `
@@ -130,16 +129,14 @@ import pytest
130
129
131
130
132
131
@pytest.fixture
133
- def awesome_fixture ():
134
- ...
132
+ def awesome_fixture (): ...
135
133
136
134
137
135
@pytest.fixture
138
136
@pytest.mark.usefixtures (
139
137
" awesome_fixture"
140
138
) # <- Using useless `@pytest.mark.*` decorator for fixtures
141
- def another_awesome_fixture ():
142
- ...
139
+ def another_awesome_fixture (): ...
143
140
```
144
141
145
142
### W6403 ` deprecated-positional-argument-for-pytest-fixture `
@@ -151,8 +148,7 @@ import pytest
151
148
152
149
153
150
@pytest.fixture (" module" ) # <- Using a deprecated positional arguments for fixture
154
- def awesome_fixture ():
155
- ...
151
+ def awesome_fixture (): ...
156
152
```
157
153
158
154
### F6401 ` cannot-enumerate-pytest-fixtures `
You can’t perform that action at this time.
0 commit comments