File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/astral-sh/uv-pre-commit
3- rev : 0.9.16
3+ rev : 0.10.9
44 hooks :
55 # Dependency management
66 - id : uv-lock
2323
2424 # Python Linting & Formatting with Ruff
2525 - repo : https://github.com/astral-sh/ruff-pre-commit
26- rev : v0.14.8
26+ rev : v0.15.5
2727 hooks :
2828 - id : ruff
2929 name : ruff (linter)
3333
3434 # Type checking with MyPy
3535 - repo : https://github.com/pre-commit/mirrors-mypy
36- rev : v1.19.0
36+ rev : v1.19.1
3737 hooks :
3838 - id : mypy
3939 args : ["--config-file", "pyproject.toml"]
Original file line number Diff line number Diff line change @@ -730,9 +730,9 @@ def _prune_versions_interactive(ctx: typer.Context) -> None:
730730
731731 keep_str = questionary .text (
732732 "How many of the most recent versions do you want to keep?" ,
733- validate = lambda text : text . isdigit ()
734- and int (text ) > 0
735- or "Please enter a positive number." ,
733+ validate = lambda text : (
734+ text . isdigit () and int (text ) > 0 or "Please enter a positive number."
735+ ) ,
736736 ).ask ()
737737
738738 if keep_str is None :
You can’t perform that action at this time.
0 commit comments