Skip to content

Commit 8ec20f4

Browse files
committed
update test depends, pin versions
1 parent e124789 commit 8ec20f4

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ cli = [
4949
'tomli-w >= 1.0.0'
5050
]
5151
lint = [
52-
'darglint',
52+
'darglint==1.8.1',
5353
]
5454
test = [
55-
'pytest',
56-
'pytest-cov',
57-
'pytest-ruff',
58-
'ruff==0.4.10',
55+
'pytest==8.2.2',
56+
'pytest-cov==5.0.0',
57+
'pytest-ruff==0.4.0',
58+
'ruff==0.6.3',
5959
]
6060

6161
[project.scripts]

tests/conftest.py

Lines changed: 5 additions & 5 deletions
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)