Skip to content

Commit e5464fa

Browse files
chore(deps): update bobthebuidler/lint-all-the-things action to v0.0.3 (#182)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [BobTheBuidler/lint-all-the-things](https://redirect.github.com/BobTheBuidler/lint-all-the-things) | action | patch | `v0.0.2` → `v0.0.3` | --- ### Release Notes <details> <summary>BobTheBuidler/lint-all-the-things (BobTheBuidler/lint-all-the-things)</summary> ### [`v0.0.3`](https://redirect.github.com/BobTheBuidler/lint-all-the-things/releases/tag/v0.0.3) [Compare Source](https://redirect.github.com/BobTheBuidler/lint-all-the-things/compare/v0.0.2...v0.0.3) #### What's Changed - fix: apply pyupgrade recursively by [@&#8203;BobTheBuidler](https://redirect.github.com/BobTheBuidler) in [#&#8203;1](https://redirect.github.com/BobTheBuidler/lint-all-the-things/pull/1) #### New Contributors - [@&#8203;BobTheBuidler](https://redirect.github.com/BobTheBuidler) made their first contribution in [#&#8203;1](https://redirect.github.com/BobTheBuidler/lint-all-the-things/pull/1) **Full Changelog**: <BobTheBuidler/lint-all-the-things@v0.0.2...v0.0.3> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/BobTheBuidler/evmspec). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42OS4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjkuMSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 57c37a9 commit e5464fa

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
ref: ${{ github.head_ref }}
2323
- name: Lint All The Things
24-
uses: BobTheBuidler/[email protected].2
24+
uses: BobTheBuidler/[email protected].3
2525
with:
2626
python-version: 3.14
2727
pyupgrade-target-version: py39

evmspec/_new.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import Final, Type, TypeVar, Union
1+
from typing import Final, TypeVar, Union
22

33
import cchecksum
44
import faster_hexbytes._utils
@@ -28,11 +28,11 @@
2828
to_checksum_address: Final = cchecksum.to_checksum_address
2929

3030

31-
def Address(cls: Type[__T], address: AnyAddress) -> __T:
31+
def Address(cls: type[__T], address: AnyAddress) -> __T:
3232
return str.__new__(cls, to_checksum_address(address)) # type: ignore [type-var]
3333

3434

35-
def HexBytes32(cls: Type[__T], v: Union[bytes, str]) -> __T:
35+
def HexBytes32(cls: type[__T], v: Union[bytes, str]) -> __T:
3636
# if it has 0x prefix it came from the chain or a user and we should validate the size
3737
# when it doesnt have the prefix it came out of one of my dbs in a downstream lib and we can trust the size.
3838
if isinstance(v, str) and v.startswith("0x"):

evmspec/structs/trace/_base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from typing import List
21

32
from dictstruct import DictStruct, LazyDictStruct
43
from msgspec import UNSET, field
@@ -194,7 +193,7 @@ class _FilterTraceBase(
194193
1
195194
"""
196195

197-
traceAddress: List[uint]
196+
traceAddress: list[uint]
198197
"""The trace addresses (array) representing the path of the call within the trace tree.
199198
200199
Examples:

0 commit comments

Comments
 (0)