diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 098f3bfe7b0..e481b90b88f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -47,7 +47,7 @@ repos: additional_dependencies: [ 'keyring==23.0.1', 'nox==2021.6.12', - 'pytest==7.1.1', + 'pytest', 'types-docutils==0.18.3', 'types-setuptools==57.4.14', 'types-freezegun==1.1.9', diff --git a/tests/functional/test_install_config.py b/tests/functional/test_install_config.py index 0c65cf95a18..6a47f1aafd9 100644 --- a/tests/functional/test_install_config.py +++ b/tests/functional/test_install_config.py @@ -355,7 +355,7 @@ def test_do_not_prompt_for_authentication( @pytest.fixture(params=(True, False), ids=("auth_needed", "auth_not_needed")) def auth_needed(request: pytest.FixtureRequest) -> bool: - return request.param # type: ignore[attr-defined] + return request.param @pytest.fixture( @@ -377,7 +377,7 @@ def flags(request: pytest.FixtureRequest, auth_needed: bool) -> typing.List[str] no_input, force_keyring, xfail, - ) = request.param # type: ignore[attr-defined] + ) = request.param flags = [] if no_input: