Skip to content

Commit 2f67456

Browse files
Fix prek
Dependency updates
1 parent 9823c75 commit 2f67456

File tree

4 files changed

+108
-107
lines changed

4 files changed

+108
-107
lines changed

perdoo/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def flatten_dict(content: dict[str, Any], parent_key: str = "") -> dict[str, Any
8484
items.update(flatten_dict(content=value, parent_key=new_key))
8585
elif isinstance(value, list) and value and isinstance(value[0], dict):
8686
for index, entry in enumerate(value):
87-
items.update(flatten_dict(content=entry, parent_key=f"{new_key}[{index}]"))
87+
items.update(flatten_dict(content=entry, parent_key=f"{new_key}[{index}]")) # ty: ignore[invalid-argument-type]
8888
else:
8989
items[new_key] = value
9090
return dict(humansorted(items.items(), alg=ns.NA | ns.G))

prek.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[repos]]
22
hooks = [
3-
{args = ["--all", "--in-place"], entry = "toml-sort", id = "toml-sort", language = "system", name = "toml sort", types = ["toml"]},
3+
{args = ["--all", "--in-place"], entry = "toml-sort", exclude = ".*.lock", id = "toml-sort", language = "system", name = "toml sort", types = ["toml"]},
44
{args = ["--number", "--wrap=keep"], entry = "mdformat", exclude = "(.github/ISSUE_TEMPLATE/.*|README).md", id = "mdformat", language = "system", name = "mdformat", types = ["markdown"]},
55
{entry = "ruff check .", id = "ruff-check", language = "system", name = "ruff check", pass_filenames = false, types = ["python"]},
66
{entry = "ruff format .", id = "ruff-format", language = "system", name = "ruff format", pass_filenames = false, types = ["python"]},

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dev = [
1515
tests = [
1616
"pytest >= 9.0.0",
1717
"pytest-cov >= 7.0.0",
18-
"tox >= 4.47.0",
18+
"tox >= 4.49.0",
1919
"tox-uv >= 1.33.0",
2020
]
2121

@@ -47,7 +47,7 @@ dependencies = [
4747
"questionary >= 2.1.0",
4848
"rarfile >= 4.2",
4949
"rich >= 14.3.0",
50-
"seagrin >= 0.3.0",
50+
"seagrin >= 0.4.0",
5151
"simyan >= 2.0.0",
5252
"tomli >= 2.4.0 ; python_version < '3.11'",
5353
"tomli-w >= 1.2.0",

0 commit comments

Comments
 (0)