Skip to content

Commit

Permalink
Merge pull request #102 from rstcheck/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
Cielquan authored Jul 24, 2024
2 parents 878a157 + f213430 commit 555800c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ repos:

# ruff - python linter with fixing ability
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 47533c0f59972e30ade57ab52cbac2ea7fbdec87 # frozen: v0.5.2
rev: cbaa26132c4c2e41aec5c64ee91e2f1c47bf5cad # frozen: v0.5.4
hooks:
- id: ruff
name: ruff (fix)
Expand Down Expand Up @@ -145,7 +145,7 @@ repos:

# ruff - python linter with fixing ability
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 47533c0f59972e30ade57ab52cbac2ea7fbdec87 # frozen: v0.5.2
rev: cbaa26132c4c2e41aec5c64ee91e2f1c47bf5cad # frozen: v0.5.4
hooks:
- id: ruff
name: ruff (lint)
Expand Down Expand Up @@ -180,7 +180,7 @@ repos:

# pylint - python linter
- repo: https://github.com/PyCQA/pylint/
rev: ae730ac7721d2cb206c153f680605b83d66fbc84 # frozen: v3.2.5
rev: da1956664d6be3d008a90ad3f72bdd9d8a7ecfaa # frozen: v3.2.6
hooks:
- id: pylint
name: spell-check (pylint+pyenchant)
Expand Down
2 changes: 1 addition & 1 deletion src/rstcheck_core/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def translate(self) -> None:
class _CheckTranslator(docutils.nodes.NodeVisitor):
"""Visits code blocks and checks for syntax errors in code."""

def __init__( # noqa: PLR0913
def __init__(
self,
document: docutils.nodes.document,
source: str,
Expand Down

0 comments on commit 555800c

Please sign in to comment.