Merge pull request #32128 from frappe/revert-31933-type-off-type-on

Revert "fix: Skip ruff qa on auto-generated typing blocks"
This commit is contained in:
gavin 2025-04-14 15:25:38 +02:00 committed by GitHub
commit bd20447ccd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,12 +22,8 @@ from frappe.types import DF
field_template = "{field}: {type}"
start_block = """# begin: auto-generated types
# ruff: noqa
"""
end_block = """# ruff: noqa
# end: auto-generated types
"""
start_block = "# begin: auto-generated types"
end_block = "# end: auto-generated types"
type_code_block_template = """{start_block}
# This code is auto-generated. Do not modify anything in this block.