Skip to content

Commit 0db7066

Browse files
Restyled by autopep8
1 parent 63ef16e commit 0db7066

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/gen_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def gen_cython(lines: Sequence[str], fun_prefix: str, extern_line: str) -> List[
279279

280280
if install_handlers:
281281
install_handlers = (
282-
["cdef void install_handlers(Tox *ptr):"] + install_handlers)
282+
["cdef void install_handlers(Tox *ptr):"] + install_handlers)
283283
return extern + [""] + handlers + [""] + install_handlers
284284

285285

@@ -299,8 +299,8 @@ def main() -> None:
299299
if (line.startswith(cdef_extern_prefix) and
300300
line.endswith(cdef_extern_suffix)):
301301
api_file = (line
302-
.removeprefix(cdef_extern_prefix)
303-
.removesuffix(cdef_extern_suffix))
302+
.removeprefix(cdef_extern_prefix)
303+
.removesuffix(cdef_extern_suffix))
304304
api = os.path.join(api_base, api_file)
305305
extern_line = line.removesuffix(" pass\n")
306306
with open(api, "r", encoding="utf-8") as api_fh:

0 commit comments

Comments
 (0)