Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

Commit 560672f

Browse files
committed
Enable more refactor transforms for python2
1 parent 0a94db5 commit 560672f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/python2/conf.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,21 @@ requirements:
1717

1818
transpile:
1919
autogen: true
20+
tflags: --reorganize-definitions --disable-refactoring
2021
binary: python
2122

2223
refactor:
2324
autogen: true
2425
transforms:
26+
- rename_unnamed
27+
- reorganize_definitions
2528
- remove_unused_labels
29+
- remove_null_terminator
30+
- bytestr_to_str
31+
- convert_format_args
32+
- convert_printfs
33+
- fix_unused_unsafe
34+
- remove_redundant_casts
2635
- remove_literal_suffixes
2736
- convert_cast_as_ptr
2837
- remove_unnecessary_refs

0 commit comments

Comments
 (0)