style: ruff format operator whitelist line (#1688)

This commit is contained in:
James R. Barlow
2026-06-05 11:40:50 -07:00
parent 94c8123bd7
commit 2f4e47213f
+1 -3
View File
@@ -174,9 +174,7 @@ def _interpret_contents(contentstream: Object, initial_shorthand=UNIT_SQUARE):
text_showing_ops = set("""TJ Tj " '""".split())
image_ops = set('BI ID EI q Q Do cm'.split())
color_ops = set('g rg k cs sc scn'.split())
operator_whitelist = ' '.join(
vector_ops | text_showing_ops | image_ops | color_ops
)
operator_whitelist = ' '.join(vector_ops | text_showing_ops | image_ops | color_ops)
for n, graphobj in enumerate(
_normalize_stack(parse_content_stream(contentstream, operator_whitelist))