Skip to content

Commit b581e6c

Browse files
pre-commit-ci[bot]adehad
authored andcommitted
[pre-commit.ci] pre-commit autoupdate
updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0) - [github.com/codespell-project/codespell: v2.2.6 → v2.4.1](codespell-project/codespell@v2.2.6...v2.4.1) - [github.com/astral-sh/ruff-pre-commit: v0.4.4 → v0.11.7](astral-sh/ruff-pre-commit@v0.4.4...v0.11.7) - [github.com/adrienverge/yamllint: v1.35.1 → v1.37.0](adrienverge/yamllint@v1.35.1...v1.37.0) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.15.0](pre-commit/mirrors-mypy@v1.10.0...v1.15.0)
1 parent 772a17c commit b581e6c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.6.0
4+
rev: v5.0.0
55
hooks:
66
- id: end-of-file-fixer
77
- id: trailing-whitespace
88
- id: mixed-line-ending
9-
- id: check-byte-order-marker
9+
- id: fix-byte-order-marker
1010
- id: check-executables-have-shebangs
1111
- id: check-merge-conflict
1212
- id: check-symlinks
@@ -15,7 +15,7 @@ repos:
1515
- id: check-yaml
1616
files: .*\.(yaml|yml)$
1717
- repo: https://github.com/codespell-project/codespell
18-
rev: v2.2.6
18+
rev: v2.4.1
1919
hooks:
2020
- id: codespell
2121
name: codespell
@@ -27,18 +27,18 @@ repos:
2727
require_serial: false
2828
additional_dependencies: []
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
30-
rev: "v0.4.4"
30+
rev: "v0.11.7"
3131
hooks:
3232
- id: ruff
3333
args: [--fix, --exit-non-zero-on-fix]
3434
- id: ruff-format
3535
- repo: https://github.com/adrienverge/yamllint
36-
rev: v1.35.1
36+
rev: v1.37.0
3737
hooks:
3838
- id: yamllint
3939
files: \.(yaml|yml)$
4040
- repo: https://github.com/pre-commit/mirrors-mypy
41-
rev: v1.10.0
41+
rev: v1.15.0
4242
hooks:
4343
- id: mypy
4444
additional_dependencies:

src/pre_commit_hooks/arabic_presentation_form/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
)
1919
from . import char_map
2020

21-
sys.stdout.reconfigure( # type: ignore[attr-defined]
21+
sys.stdout.reconfigure( # type: ignore[union-attr]
2222
encoding="utf-8" # For Windows: we want to be sure to use UTF-8
2323
)
2424
RulesDict = dict[re.Pattern[Any], str]

0 commit comments

Comments
 (0)