diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4fb83a0..21fefbb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.4 + rev: v0.8.3 hooks: - id: ruff - id: ruff-format diff --git a/reverse_argparse/reverse_argparse.py b/reverse_argparse/reverse_argparse.py index f4530b8..c2af846 100644 --- a/reverse_argparse/reverse_argparse.py +++ b/reverse_argparse/reverse_argparse.py @@ -15,7 +15,7 @@ import re from argparse import SUPPRESS, Action, ArgumentParser, Namespace -from typing import Sequence +from collections.abc import Sequence SHORT_OPTION_LENGTH = 2