Skip to content

Commit d574624

Browse files
authored
Merge pull request #1213 from onekey-sec/renovate/ruff-0.x
chore(deps): update dependency ruff to v0.12.0
2 parents 897c25c + 021ce96 commit d574624

File tree

3 files changed

+26
-23
lines changed

3 files changed

+26
-23
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dev = [
4545
"pytest-cov>=3,<7",
4646
"pytest>=8.0.0",
4747
"pyyaml>=6.0.1",
48-
"ruff==0.11.13",
48+
"ruff==0.12.0",
4949
"taplo>=0.9.3",
5050
]
5151
docs = [

python/unblob/handlers/filesystem/yaffs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ def __gt__(self, other):
213213
def __eq__(self, other):
214214
return self.object_id == other.object_id
215215

216+
def __hash__(self):
217+
return hash(self.object_id)
218+
216219
def __str__(self):
217220
return f"{self.object_id}: {self.name}"
218221

uv.lock

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

0 commit comments

Comments
 (0)