Skip to content

Commit 888677d

Browse files
dependencies: update dependencies (#241)
Co-authored-by: Frédéric Samier <frederic.samier@ledger.fr>
1 parent 6cf19b0 commit 888677d

13 files changed

Lines changed: 39 additions & 39 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ repos:
77
name: sync pre-commit dependencies
88

99
- repo: https://github.com/pdm-project/pdm
10-
rev: 2.22.3
10+
rev: 2.25.9
1111
hooks:
1212
- id: pdm-lock-check
1313
name: check pdm lock file
@@ -72,7 +72,7 @@ repos:
7272
name: apply walrus operator
7373

7474
- repo: https://github.com/astral-sh/ruff-pre-commit
75-
rev: v0.9.3
75+
rev: v0.14.2
7676
hooks:
7777
- id: ruff
7878
name: lint code (ruff)
@@ -93,8 +93,8 @@ repos:
9393
- types-requests
9494
- types-setuptools
9595
- types-protobuf
96-
- pydantic==2.10.6
97-
- pytest==8.3.4
96+
- pydantic==2.12.3
97+
- pytest==8.4.2
9898

9999
- repo: https://github.com/PyCQA/bandit
100100
rev: 1.7.8

pdm.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
dependencies = [
2222
# pinned dependencies
2323
"httpx==0.27.2", # regression in 0.28, client.get(url, params) looses params directly in URL
24+
"hishel==0.1.1", # too many breaking changes in recent versions
2425
# unpinned dependencies
2526
"pydantic>=2.8.2",
2627
"eip712-clearsign>=4.1.0",
@@ -33,7 +34,6 @@ dependencies = [
3334
"lark>=1.2.2",
3435
"pydantic-string-url>=1.0.2",
3536
"httpx-file>=0.2.0",
36-
"hishel>=0.0.33",
3737
"xdg-base-dirs>=6.0.2",
3838
"limiter>=0.5.0",
3939
"eth-abi>=5.1.0",

src/erc7730/common/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
from erc7730.model.base import Model
1818
from erc7730.model.types import Address
1919

20+
# ruff: noqa: UP047
21+
2022
ETHERSCAN = "api.etherscan.io"
2123

2224
_T = TypeVar("_T")

src/erc7730/common/options.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
from typing_extensions import TypeVar
22

3+
# ruff: noqa: UP047
4+
35
_T = TypeVar("_T")
46

57

src/erc7730/common/pydantic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
from erc7730.common.json import dict_to_json_file, dict_to_json_str, read_json_with_includes
1313

14+
# ruff: noqa: UP047
15+
1416
_BaseModel = TypeVar("_BaseModel", bound=BaseModel)
1517

1618

src/erc7730/convert/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
from erc7730.common.output import OutputAdder
77

8+
# ruff: noqa: UP046
9+
810
InputType = TypeVar("InputType", bound=BaseModel)
911
OutputType = TypeVar("OutputType", bound=BaseModel)
1012

src/erc7730/lint/classifier/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
from erc7730.model.abi import ABI
66
from erc7730.model.context import EIP712Schema
77

8+
# ruff: noqa: UP046
9+
810

911
class TxClass(StrEnum):
1012
STAKE = auto()

src/erc7730/model/display.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
from erc7730.model.base import Model
77
from erc7730.model.types import Id
88

9-
# ruff: noqa: N815 - camel case field names are tolerated to match schema
10-
119

1210
class FieldFormat(str, Enum):
1311
"""

src/erc7730/model/input/descriptor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
from erc7730.model.input.display import InputDisplay
1919
from erc7730.model.input.metadata import InputMetadata
2020

21-
# ruff: noqa: N815 - camel case field names are tolerated to match schema
22-
2321

2422
class InputERC7730Descriptor(Model):
2523
"""

0 commit comments

Comments
 (0)