Skip to content

Commit a6eb02e

Browse files
committed
fix: add ruff noqa E402 to ignore top level monkeypatch imports
1 parent 51eee96 commit a6eb02e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/scripts/build/inject_changelog.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env python3
2+
# ruff: noqa: E402
23
import panflute as pf
34
# Monkeypatch RAW_FORMATS to bypass strict obsolete panflute validators
4-
pf.elements.RAW_FORMATS.add('typst')
5-
pf.elements.RAW_FORMATS.add('pdf')
6-
5+
pf.elements.RAW_FORMATS.add("typst")
6+
pf.elements.RAW_FORMATS.add("pdf")
77
import os
88
import json
99
import sys

0 commit comments

Comments
 (0)