Skip to content

Commit f081636

Browse files
Linting
1 parent c2de44c commit f081636

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

docs/api/addon-development.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ Python module contract (addon-provided):
8686
```python
8787
def read_content(file_data: bytes, logical_path: str, romfs_path: str = "") -> str: ...
8888

89-
def write_content(original: bytes, editor_text: str, logical_path: str, romfs_path: str = "") -> bytes: ...
89+
90+
def write_content(
91+
original: bytes, editor_text: str, logical_path: str, romfs_path: str = ""
92+
) -> bytes: ...
9093
```
9194

9295
Function names default to `read_content` / `write_content` and can be overridden per handler.

docs/api/v1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -857,6 +857,7 @@ def read_content(
857857
"""Return editor text for read-disk / SARC text pipeline."""
858858
...
859859

860+
860861
def write_content(
861862
original: bytes,
862863
editor_text: str,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ packages = []
1818

1919
[project.optional-dependencies]
2020
dev = [
21-
"ruff>=0.3.0",
21+
"ruff==0.16.2",
2222
]
2323

2424
[tool.ruff]

0 commit comments

Comments
 (0)