From 552edc12b5b994153d81e531deedb55dd693a0c3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 10:14:04 -0700 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#217) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 8 ++++---- tests/formatter/test_line_endings.py | 1 + tests/formatter/test_requires.py | 1 + tests/formatter/test_section_order.py | 1 + tests/formatter/test_test_env.py | 1 + tests/formatter/test_tox_section.py | 1 + tests/test_cli.py | 1 + tests/test_main.py | 1 + 8 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4d2985f..4fa448a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.29.1 + rev: 0.29.2 hooks: - id: check-github-workflows args: ["--verbose"] @@ -15,16 +15,16 @@ repos: - id: codespell additional_dependencies: ["tomli>=2.0.1"] - repo: https://github.com/tox-dev/tox-ini-fmt - rev: "1.3.1" + rev: "1.3.2" hooks: - id: tox-ini-fmt args: ["-p", "fix"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "2.2.1" + rev: "2.2.3" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.7" + rev: "v0.6.4" hooks: - id: ruff-format - id: ruff diff --git a/tests/formatter/test_line_endings.py b/tests/formatter/test_line_endings.py index 40423ea..6d3fbbe 100644 --- a/tests/formatter/test_line_endings.py +++ b/tests/formatter/test_line_endings.py @@ -4,6 +4,7 @@ from typing import TYPE_CHECKING import pytest + from tox_ini_fmt.__main__ import run if TYPE_CHECKING: diff --git a/tests/formatter/test_requires.py b/tests/formatter/test_requires.py index 7e8bc75..7179027 100644 --- a/tests/formatter/test_requires.py +++ b/tests/formatter/test_requires.py @@ -1,6 +1,7 @@ from __future__ import annotations import pytest + from tox_ini_fmt.formatter.requires import requires diff --git a/tests/formatter/test_section_order.py b/tests/formatter/test_section_order.py index a92e7cc..7f0f009 100644 --- a/tests/formatter/test_section_order.py +++ b/tests/formatter/test_section_order.py @@ -4,6 +4,7 @@ from typing import TYPE_CHECKING import pytest + from tox_ini_fmt.cli import ToxIniFmtNamespace from tox_ini_fmt.formatter import format_tox_ini from tox_ini_fmt.formatter.section_order import explode_env_list diff --git a/tests/formatter/test_test_env.py b/tests/formatter/test_test_env.py index 1d48927..1a1b8c4 100644 --- a/tests/formatter/test_test_env.py +++ b/tests/formatter/test_test_env.py @@ -4,6 +4,7 @@ from typing import TYPE_CHECKING import pytest + from tox_ini_fmt.formatter import format_tox_ini from tox_ini_fmt.formatter.test_env import to_ordered_list from tox_ini_fmt.formatter.util import to_py_dependencies diff --git a/tests/formatter/test_tox_section.py b/tests/formatter/test_tox_section.py index a3ccd15..b3b285b 100644 --- a/tests/formatter/test_tox_section.py +++ b/tests/formatter/test_tox_section.py @@ -4,6 +4,7 @@ from typing import TYPE_CHECKING import pytest + from tox_ini_fmt.formatter import format_tox_ini from tox_ini_fmt.formatter.util import order_env_list diff --git a/tests/test_cli.py b/tests/test_cli.py index ec99b20..6b1c5a2 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -5,6 +5,7 @@ from typing import TYPE_CHECKING import pytest + from tox_ini_fmt.cli import cli_args if TYPE_CHECKING: diff --git a/tests/test_main.py b/tests/test_main.py index 0f970c9..16ce64d 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -4,6 +4,7 @@ from typing import TYPE_CHECKING import pytest + import tox_ini_fmt.__main__ from tox_ini_fmt.__main__ import GREEN, RED, RESET, color_diff, run