File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ exclude: 'src/pip/_vendor/'
22
33repos :
44- repo : https://github.com/pre-commit/pre-commit-hooks
5- rev : v4.6 .0
5+ rev : v5.0 .0
66 hooks :
77 - id : check-builtin-literals
88 - id : check-added-large-files
@@ -17,18 +17,18 @@ repos:
1717 exclude : .patch
1818
1919- repo : https://github.com/psf/black-pre-commit-mirror
20- rev : 24.4.2
20+ rev : 24.10.0
2121 hooks :
2222 - id : black
2323
2424- repo : https://github.com/astral-sh/ruff-pre-commit
25- rev : v0.5.6
25+ rev : v0.8.2
2626 hooks :
2727 - id : ruff
2828 args : [--fix, --exit-non-zero-on-fix]
2929
3030- repo : https://github.com/pre-commit/mirrors-mypy
31- rev : v1.12.1
31+ rev : v1.13.0
3232 hooks :
3333 - id : mypy
3434 exclude : tests/data
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def _raw_progress_bar(
6363 size : Optional [int ],
6464) -> Generator [bytes , None , None ]:
6565 def write_progress (current : int , total : int ) -> None :
66- sys .stdout .write ("Progress %d of %d \n " % ( current , total ) )
66+ sys .stdout .write (f "Progress { current } of { total } \n " )
6767 sys .stdout .flush ()
6868
6969 current = 0
You can’t perform that action at this time.
0 commit comments