Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- repo: https://github.com/PyCQA/autoflake
rev: v1.7.7
rev: v2.2.1
hooks:
- id: autoflake
exclude: &fixtures tests/functional/
Expand All @@ -21,24 +21,24 @@ repos:
- --remove-duplicate-keys
- --remove-unused-variables
- repo: https://github.com/asottile/pyupgrade
rev: v3.2.0
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py37-plus]
exclude: *fixtures
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.13.2
hooks:
- id: isort
exclude: *fixtures
- repo: https://github.com/psf/black
rev: 22.10.0
rev: 24.1.1
hooks:
- id: black
args: [--quiet]
exclude: *fixtures
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports==1.10.1]
Expand All @@ -53,15 +53,15 @@ repos:
args: ["--disable=import-error, cyclic-import", "--load-plugins=pylint_pytest_plugin"]
exclude: *fixtures
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.982
rev: v1.8.0
hooks:
- id: mypy
args: [--config-file=pyproject.toml]
exclude: *fixtures
additional_dependencies:
[pytest-stub==1.1.0]
- repo: https://github.com/DanielNoord/pydocstringformatter
rev: v0.7.2
rev: v0.7.3
hooks:
- id: pydocstringformatter
args: ["--linewrap-full-docstring"]
2 changes: 1 addition & 1 deletion tests/test_functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_functional(
"""Run the functional tests."""
# pylint: disable=protected-access
__tracebackhide__ = True
lint_test: (LintModuleOutputUpdate | testutils.LintModuleTest)
lint_test: LintModuleOutputUpdate | testutils.LintModuleTest
if UPDATE_FILE.exists():
lint_test = LintModuleOutputUpdate(test_file, pytestconfig)
else:
Expand Down
Loading