Skip to content

Commit c1a5aba

Browse files
committed
updating dev deps (with new black formatting)
1 parent 5dc50d1 commit c1a5aba

File tree

5 files changed

+13
-15
lines changed

5 files changed

+13
-15
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
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

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@ scripts = [
3131
"invoke==2.2.0",
3232
]
3333
lint = [
34-
"black==23.7.0",
35-
"ruff==0.0.282",
34+
"black==24.1.1",
35+
"ruff==0.1.15",
3636
]
3737
check = [
38-
"pyright==1.1.321",
38+
"pyright==1.1.349",
3939
]
4040
test = [
41-
"pytest==7.4.0",
42-
"coverage==7.2.7",
41+
"pytest==8.0.0",
42+
"coverage==7.4.1",
4343
]
4444
dev = [
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]",

src/docker_export/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
logging.getLogger("urllib3").setLevel(logging.WARNING)
4040

4141

42-
class ImageNotFoundError(Exception):
43-
...
42+
class ImageNotFoundError(Exception): ...
4443

4544

4645
class V2ImageNotFoundError(ImageNotFoundError):

tests/test_digest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
(
2020
"helloysd/caddy:0.10.11",
2121
"linux/amd64",
22-
"672342e30b241ae37f442b0afdd6e744f776af3bd602c4bceaa8dcf2547841bd"
22+
"672342e30b241ae37f442b0afdd6e744f776af3bd602c4bceaa8dcf2547841bd",
2323
# different from hub (v1 manifest)
2424
# "sha256:8a7b91584f5d0ee6211249d05ec51f026b763d3e1a87885e7d0d6968c42ad6b1",
2525
),

tests/test_platform.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)