From c8c1fd1071136feb1c2eb750b9995c5c4c3eaad3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Jul 2022 23:56:34 +0530 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#4874) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v2.34.0 → v2.37.1](https://github.com/asottile/pyupgrade/compare/v2.34.0...v2.37.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- xonsh/cli_utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 10c25a5a2..e018a9c7b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -69,7 +69,7 @@ repos: - id: check-added-large-files - repo: https://github.com/asottile/pyupgrade - rev: v2.34.0 + rev: v2.37.1 hooks: - id: pyupgrade args: [--py38-plus] diff --git a/xonsh/cli_utils.py b/xonsh/cli_utils.py index 5825a6ed7..33fbda4d7 100644 --- a/xonsh/cli_utils.py +++ b/xonsh/cli_utils.py @@ -147,7 +147,7 @@ def _get_args_kwargs(annot: tp.Any) -> tp.Tuple[tp.Sequence[str], tp.Dict[str, t if hasattr(annot, "__metadata__"): args, kwargs = annot.__metadata__[0] else: - from typing_extensions import get_args + from typing import get_args _, (args, kwargs) = get_args(annot)