File tree Expand file tree Collapse file tree 5 files changed +13
-15
lines changed
Expand file tree Collapse file tree 5 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 22# See https://pre-commit.com/hooks.html for more hooks
33repos :
44- repo : https://github.com/pre-commit/pre-commit-hooks
5- rev : v4.4 .0
5+ rev : v4.5 .0
66 hooks :
77 - id : trailing-whitespace
88 - id : end-of-file-fixer
99- repo : https://github.com/psf/black
10- rev : " 23.7.0 "
10+ rev : " 24.1.1 "
1111 hooks :
1212 - id : black
1313- repo : https://github.com/astral-sh/ruff-pre-commit
14- rev : v0.0.282
14+ rev : v0.1.15
1515 hooks :
1616 - id : ruff
1717- repo : https://github.com/RobertCraigie/pyright-python
18- rev : v1.1.321
18+ rev : v1.1.349
1919 hooks :
2020 - id : pyright
2121 entry : hatch run check:all
Original file line number Diff line number Diff line change @@ -31,18 +31,18 @@ scripts = [
3131 " invoke==2.2.0" ,
3232]
3333lint = [
34- " black==23.7.0 " ,
35- " ruff==0.0.282 " ,
34+ " black==24.1.1 " ,
35+ " ruff==0.1.15 " ,
3636]
3737check = [
38- " pyright==1.1.321 " ,
38+ " pyright==1.1.349 " ,
3939]
4040test = [
41- " pytest==7.4 .0" ,
42- " coverage==7.2.7 " ,
41+ " pytest==8.0 .0" ,
42+ " coverage==7.4.1 " ,
4343]
4444dev = [
45- " pre-commit==3.3.3 " ,
45+ " pre-commit==3.6.0 " ,
4646 " debugpy==1.6.7" ,
4747 " docker-export[scripts]" ,
4848 " docker-export[lint]" ,
Original file line number Diff line number Diff line change 3939logging .getLogger ("urllib3" ).setLevel (logging .WARNING )
4040
4141
42- class ImageNotFoundError (Exception ):
43- ...
42+ class ImageNotFoundError (Exception ): ...
4443
4544
4645class V2ImageNotFoundError (ImageNotFoundError ):
Original file line number Diff line number Diff line change 1919 (
2020 "helloysd/caddy:0.10.11" ,
2121 "linux/amd64" ,
22- "672342e30b241ae37f442b0afdd6e744f776af3bd602c4bceaa8dcf2547841bd"
22+ "672342e30b241ae37f442b0afdd6e744f776af3bd602c4bceaa8dcf2547841bd" ,
2323 # different from hub (v1 manifest)
2424 # "sha256:8a7b91584f5d0ee6211249d05ec51f026b763d3e1a87885e7d0d6968c42ad6b1",
2525 ),
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ def test_parse_error(value: str):
4747 Platform .parse (value )
4848
4949
50- def test_from_payload ():
51- ...
50+ def test_from_payload (): ...
5251
5352
5453@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments