mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-04 08:24:40 +01:00
[pre-commit.ci] pre-commit autoupdate (#4874)
* [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>
This commit is contained in:
parent
2042d78d0d
commit
c8c1fd1071
2 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue