Skip to content

Commit

Permalink
🎨 reformat files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ousret committed Dec 24, 2024
1 parent 691ae03 commit 0ebfccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
rev: v3.19.1
hooks:
- id: pyupgrade
args: [ --py37-plus ]
args: [ --py37-plus, --keep-runtime-typing ]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.8.4
Expand Down
2 changes: 1 addition & 1 deletion src/charset_normalizer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def cut_sequence_chunks(
sig_payload: bytes,
is_multi_byte_decoder: bool,
decoded_payload: str | None = None,
) -> Generator[str]:
) -> Generator[str, None, None]:
if decoded_payload and is_multi_byte_decoder is False:
for i in offsets:
chunk = decoded_payload[i : i + chunk_size]
Expand Down

0 comments on commit 0ebfccf

Please sign in to comment.