Skip to content

Commit 01b74b4

Browse files
author
Dos Moonen
committed
Unpin pytest in .pre-commit-config.yaml and remove type: ignore[attr-defined] comments that are no longer needed as of pytest 7.1.3
1 parent f39f069 commit 01b74b4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ repos:
4747
additional_dependencies: [
4848
'keyring==23.0.1',
4949
'nox==2021.6.12',
50-
'pytest==7.1.1',
50+
'pytest',
5151
'types-docutils==0.18.3',
5252
'types-setuptools==57.4.14',
5353
'types-freezegun==1.1.9',

tests/functional/test_install_config.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def test_do_not_prompt_for_authentication(
355355

356356
@pytest.fixture(params=(True, False), ids=("auth_needed", "auth_not_needed"))
357357
def auth_needed(request: pytest.FixtureRequest) -> bool:
358-
return request.param # type: ignore[attr-defined]
358+
return request.param
359359

360360

361361
@pytest.fixture(
@@ -377,7 +377,7 @@ def flags(request: pytest.FixtureRequest, auth_needed: bool) -> typing.List[str]
377377
no_input,
378378
force_keyring,
379379
xfail,
380-
) = request.param # type: ignore[attr-defined]
380+
) = request.param
381381

382382
flags = []
383383
if no_input:

0 commit comments

Comments
 (0)