Skip to content

Commit

Permalink
ci(pre-commit.ci): autoupdate (#20)
Browse files Browse the repository at this point in the history
* ci(pre-commit.ci): autoupdate

updates:
- [github.com/abravalheri/validate-pyproject: v0.15 → v0.16](abravalheri/validate-pyproject@v0.15...v0.16)
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.2.0](astral-sh/ruff-pre-commit@v0.1.9...v0.2.0)
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* style(pre-commit.ci): auto fixes [...]

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
pre-commit-ci[bot] authored Mar 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 10ef404 commit 8d4703a
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -9,18 +9,18 @@ ci:

repos:
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.15
rev: v0.16
hooks:
- id: validate-pyproject

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.2.0
hooks:
- id: ruff
args: [--fix]

- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black

7 changes: 3 additions & 4 deletions src/pyconify/api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Wrapper for api calls at https://api.iconify.design/."""

from __future__ import annotations

import atexit
@@ -563,15 +564,13 @@ def iconify_version() -> str:
@overload
def _split_prefix_name(
key: tuple[str, ...], allow_many: Literal[False] = ...
) -> tuple[str, str]:
...
) -> tuple[str, str]: ...


@overload
def _split_prefix_name(
key: tuple[str, ...], allow_many: Literal[True]
) -> tuple[str, tuple[str, ...]]:
...
) -> tuple[str, tuple[str, ...]]: ...


def _split_prefix_name(

0 comments on commit 8d4703a

Please sign in to comment.