File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ lint = [
54
54
test = [
55
55
' pytest' ,
56
56
' pytest-cov' ,
57
- ' pytest-ruff' ,
58
- ' ruff==0.4.10 ' ,
57
+ ' pytest-ruff==0.4.0 ' ,
58
+ ' ruff==0.6.3 ' ,
59
59
]
60
60
61
61
[project .scripts ]
Original file line number Diff line number Diff line change 7
7
pytest .register_assert_rewrite ('tests.common' )
8
8
9
9
10
- @pytest .fixture ()
10
+ @pytest .fixture
11
11
def content ():
12
12
def _reader (filename ):
13
13
with open (filename ) as f :
@@ -16,7 +16,7 @@ def _reader(filename):
16
16
return _reader
17
17
18
18
19
- @pytest .fixture ()
19
+ @pytest .fixture
20
20
def expected (request ):
21
21
filename = os .path .splitext (request .module .__file__ )[0 ]
22
22
filename += f'.{ request .function .__name__ } .exp'
@@ -25,7 +25,7 @@ def expected(request):
25
25
return f .read ()
26
26
27
27
28
- @pytest .fixture ()
28
+ @pytest .fixture
29
29
def rpath (request ):
30
30
def _path_resolver (filename ):
31
31
path = os .path .join (
@@ -41,7 +41,7 @@ def _path_resolver(filename):
41
41
return _path_resolver
42
42
43
43
44
- @pytest .fixture ()
44
+ @pytest .fixture
45
45
def stringio ():
46
46
return StringIO ()
47
47
@@ -51,6 +51,6 @@ def isatty(self):
51
51
return True
52
52
53
53
54
- @pytest .fixture ()
54
+ @pytest .fixture
55
55
def stringio_tty ():
56
56
return _StringIOTTY ()
You can’t perform that action at this time.
0 commit comments