Skip to content

Commit 5c90690

Browse files
committed
chore: more line lengths
1 parent 3b0a1ce commit 5c90690

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/array_api/cli/_main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _class_to_protocol(stmt: ast.ClassDef, typevars: Sequence[TypeVarInfo]) -> P
9595
]
9696
for b in stmt.body:
9797
if isinstance(b, ast.FunctionDef):
98-
if getattr(b.body[-1].value, "value", None) is Ellipsis:
98+
if getattr(b.body[-1].value, "value", None) is Ellipsis: #type: ignore[attr-defined]
9999
pass
100100
else:
101101
b.body.append(ast.Expr(value=ast.Constant(value=Ellipsis)))
@@ -287,6 +287,7 @@ def generate_all(
287287
generate(body_module, (Path(out_path) / dir_path.name).with_suffix(".py"))
288288

289289
import sys
290+
290291
sys.argv = ["ssort", "src/array_api"]
291292
runpy.run_module("ssort")
292293
runpy.run_module("ruff")

0 commit comments

Comments
 (0)