[pre-commit.ci] pre-commit autoupdate (#280)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
6c9136bacb
commit
8edf3c1963
|
@ -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]
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue