Skip to content

Commit b28a88a

Browse files
authored
chore: update pre-commit hooks (#1574)
<!--pre-commit.ci start--> updates: - [github.com/rbubley/mirrors-prettier: v3.9.9 → v3.9.10](rbubley/mirrors-prettier@v3.9.9...v3.9.10) - [github.com/pre-commit/mirrors-mypy: v2.3.1 → v2.4.0](pre-commit/mirrors-mypy@v2.3.1...v2.4.0) - [github.com/astral-sh/ruff-pre-commit: v0.16.9 → v0.17.0](astral-sh/ruff-pre-commit@v0.16.9...v0.17.0) <!--pre-commit.ci end-->
2 parents 4792e6e + 4bb834e commit b28a88a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ repos:
3333
additional_dependencies: [mdformat-footnote]
3434

3535
- repo: https://github.com/rbubley/mirrors-prettier
36-
rev: "v3.9.9"
36+
rev: "v3.9.10"
3737
hooks:
3838
- id: prettier
3939
types_or: [yaml, html, json]
4040

4141
- repo: https://github.com/pre-commit/mirrors-mypy
42-
rev: "v2.3.1"
42+
rev: "v2.4.0"
4343
hooks:
4444
- id: mypy
4545
files: ipykernel
@@ -94,7 +94,7 @@ repos:
9494
- id: rst-inline-touching-normal
9595

9696
- repo: https://github.com/astral-sh/ruff-pre-commit
97-
rev: v0.16.9
97+
rev: v0.17.0
9898
hooks:
9999
- id: ruff-check
100100
types_or: [python, jupyter]

‎ipykernel/jsonutil.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
# holy crap, strptime is not threadsafe.
2828
# Calling it once at import seems to help.
29-
datetime.strptime("2000-01-01", "%Y-%m-%d") # noqa: DTZ007
29+
datetime.strptime("2000-01-01", "%Y-%m-%d")
3030

3131
# -----------------------------------------------------------------------------
3232
# Classes and functions

0 commit comments

Comments
 (0)