Skip to content

Commit 496e5a2

Browse files
committed
Fix ruff format diff
1 parent 439d89d commit 496e5a2

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

binding_generator.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2260,7 +2260,19 @@ def generate_global_constants(api, output_dir):
22602260
header.append("")
22612261

22622262
# Remove integer limit global constants that overlap with those defined in cstdint
2263-
limit_constants = {"UINT8_MAX", "UINT16_MAX", "UINT32_MAX", "INT8_MIN", "INT8_MAX", "INT16_MIN", "INT16_MAX", "INT32_MIN", "INT32_MAX", "INT64_MIN", "INT64_MAX"}
2263+
limit_constants = {
2264+
"UINT8_MAX",
2265+
"UINT16_MAX",
2266+
"UINT32_MAX",
2267+
"INT8_MIN",
2268+
"INT8_MAX",
2269+
"INT16_MIN",
2270+
"INT16_MAX",
2271+
"INT32_MIN",
2272+
"INT32_MAX",
2273+
"INT64_MIN",
2274+
"INT64_MAX",
2275+
}
22642276
global_constants = [c for c in api["global_constants"] if c["name"] not in limit_constants]
22652277

22662278
if len(global_constants) > 0:

0 commit comments

Comments
 (0)