From 8edf3c196377260eb623f2455b7aa60db63cf578 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Aug 2023 16:50:22 -0700 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#280) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 6 +++--- pyproject.toml | 4 ++-- tests/test_cli.py | 2 +- tox.ini | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 60bf662..767320b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,17 +14,17 @@ repos: - id: tox-ini-fmt args: ["-p", "fix"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "0.13.0" + rev: "0.13.1" hooks: - id: pyproject-fmt - additional_dependencies: ["tox>=4.6.4"] + additional_dependencies: ["tox>=4.8"] - repo: https://github.com/pre-commit/mirrors-prettier rev: "v3.0.1" hooks: - id: prettier args: ["--print-width=120", "--prose-wrap=always"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.0.282" + rev: "v0.0.284" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/pyproject.toml b/pyproject.toml index 865d6e0..263c4ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,11 +45,11 @@ optional-dependencies.graphviz = [ optional-dependencies.test = [ "covdefaults>=2.3", "diff-cover>=7.7", - "pip>=23.2", + "pip>=23.2.1", "pytest>=7.4", "pytest-cov>=4.1", "pytest-mock>=3.11.1", - "virtualenv<21,>=20.24", + "virtualenv<21,>=20.24.3", ] urls.Changelog = "https://github.com/tox-dev/pipdeptree/blob/main/CHANGES.md" urls.Documentation = "https://github.com/tox-dev/pipdeptree/blob/main/README.md#pipdeptree" diff --git a/tests/test_cli.py b/tests/test_cli.py index 75a26d3..30b39a4 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -66,7 +66,7 @@ def test_parser_svg() -> None: (False, [], float("inf")), ], ) -def test_parser_depth(should_be_error: bool, depth_arg: list[str], expected_value: None | int | float) -> None: +def test_parser_depth(should_be_error: bool, depth_arg: list[str], expected_value: None | float) -> None: parser = build_parser() if should_be_error: diff --git a/tox.ini b/tox.ini index 7ce6bc5..d98ab72 100644 --- a/tox.ini +++ b/tox.ini @@ -43,7 +43,7 @@ commands = [testenv:type] description = run type check on code base deps = - mypy==1.4.1 + mypy==1.5 set_env = {tty:MYPY_FORCE_COLOR = 1} commands =