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/'
2
2
3
3
repos :
4
4
- repo : https://github.com/pre-commit/pre-commit-hooks
5
- rev : v4.6 .0
5
+ rev : v5.0 .0
6
6
hooks :
7
7
- id : check-builtin-literals
8
8
- id : check-added-large-files
@@ -17,18 +17,18 @@ repos:
17
17
exclude : .patch
18
18
19
19
- repo : https://github.com/psf/black-pre-commit-mirror
20
- rev : 24.4.2
20
+ rev : 24.10.0
21
21
hooks :
22
22
- id : black
23
23
24
24
- repo : https://github.com/astral-sh/ruff-pre-commit
25
- rev : v0.5.6
25
+ rev : v0.8.2
26
26
hooks :
27
27
- id : ruff
28
28
args : [--fix, --exit-non-zero-on-fix]
29
29
30
30
- repo : https://github.com/pre-commit/mirrors-mypy
31
- rev : v1.12.1
31
+ rev : v1.13.0
32
32
hooks :
33
33
- id : mypy
34
34
exclude : tests/data
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def _raw_progress_bar(
63
63
size : Optional [int ],
64
64
) -> Generator [bytes , None , None ]:
65
65
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 " )
67
67
sys .stdout .flush ()
68
68
69
69
current = 0
You can’t perform that action at this time.
0 commit comments