Skip to content

Commit 4575ed0

Browse files
committed
bump ruff and pytest-ruff
1 parent e124789 commit 4575ed0

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ lint = [
5454
test = [
5555
'pytest',
5656
'pytest-cov',
57-
'pytest-ruff',
58-
'ruff==0.4.10',
57+
'pytest-ruff==0.4.0',
58+
'ruff==0.6.3',
5959
]
6060

6161
[project.scripts]

tests/conftest.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
pytest.register_assert_rewrite('tests.common')
88

99

10-
@pytest.fixture()
10+
@pytest.fixture
1111
def content():
1212
def _reader(filename):
1313
with open(filename) as f:
@@ -16,7 +16,7 @@ def _reader(filename):
1616
return _reader
1717

1818

19-
@pytest.fixture()
19+
@pytest.fixture
2020
def expected(request):
2121
filename = os.path.splitext(request.module.__file__)[0]
2222
filename += f'.{request.function.__name__}.exp'
@@ -25,7 +25,7 @@ def expected(request):
2525
return f.read()
2626

2727

28-
@pytest.fixture()
28+
@pytest.fixture
2929
def rpath(request):
3030
def _path_resolver(filename):
3131
path = os.path.join(
@@ -41,7 +41,7 @@ def _path_resolver(filename):
4141
return _path_resolver
4242

4343

44-
@pytest.fixture()
44+
@pytest.fixture
4545
def stringio():
4646
return StringIO()
4747

@@ -51,6 +51,6 @@ def isatty(self):
5151
return True
5252

5353

54-
@pytest.fixture()
54+
@pytest.fixture
5555
def stringio_tty():
5656
return _StringIOTTY()

0 commit comments

Comments
 (0)