Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #103

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exclude: >
repos:

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-json
- id: check-yaml
Expand All @@ -25,17 +25,17 @@ repos:
- id: isort

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

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.13
rev: v0.4.3
hooks:
- id: ruff

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.10.0
hooks:
- id: mypy
additional_dependencies: [markdown-it-py~=3.0]
Expand Down
1 change: 1 addition & 0 deletions mdit_py_plugins/amsmath/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""An extension to capture amsmath latex environments."""

from __future__ import annotations

import re
Expand Down
1 change: 1 addition & 0 deletions mdit_py_plugins/attrs/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class <- '.' name
bareval <- (ASCII_ALPHANUM | ':' | '_' | '-')+
quotedval <- '"' ([^"] | '\"') '"'
"""

from __future__ import annotations

from enum import Enum
Expand Down
1 change: 1 addition & 0 deletions mdit_py_plugins/container/index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Process block-level custom containers."""

from __future__ import annotations

from math import floor
Expand Down
1 change: 1 addition & 0 deletions mdit_py_plugins/deflist/index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Process definition lists."""

from markdown_it import MarkdownIt
from markdown_it.rules_block import StateBlock

Expand Down
1 change: 1 addition & 0 deletions mdit_py_plugins/field_list/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Field list plugin"""

from contextlib import contextmanager
from typing import Iterator, Optional, Tuple

Expand Down
1 change: 1 addition & 0 deletions mdit_py_plugins/footnote/index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Process footnotes"""

from __future__ import annotations

from typing import TYPE_CHECKING, List, Optional, Sequence
Expand Down
1 change: 1 addition & 0 deletions mdit_py_plugins/front_matter/index.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Process front matter."""

from markdown_it import MarkdownIt
from markdown_it.rules_block import StateBlock

Expand Down
Loading