diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bf1666c..e7c1878 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: hooks: - id: add-trailing-comma - repo: https://github.com/asottile/pyupgrade - rev: v3.16.0 + rev: v3.17.0 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/setup_cfg_fmt.py b/setup_cfg_fmt.py index 49fbd5d..633be3c 100644 --- a/setup_cfg_fmt.py +++ b/setup_cfg_fmt.py @@ -173,7 +173,7 @@ def _parse_python_requires( return minimum, excluded -def _tox_envlist(setup_cfg: str) -> Generator[str, None, None]: +def _tox_envlist(setup_cfg: str) -> Generator[str]: tox_ini = _adjacent_filename(setup_cfg, 'tox.ini') if os.path.exists(tox_ini): cfg = NoTransformConfigParser()