Commit generated code otherwise CI cannot check types

This commit is contained in:
Johannes Kirschbauer
2024-07-18 22:26:05 +02:00
parent c92ee71d42
commit 6d49f5c926
4 changed files with 210 additions and 5 deletions

View File

@@ -179,11 +179,12 @@ def run_gen(args: argparse.Namespace) -> None:
with open(args.output, "w") as f:
f.write(
"""
# DON NOT EDIT THIS FILE MANUALLY. IT IS GENERATED.
# UPDATE
"""# DON NOT EDIT THIS FILE MANUALLY. IT IS GENERATED.
#
# ruff: noqa: N815
# ruff: noqa: N806
# ruff: noqa: F401
# fmt: off
from dataclasses import dataclass, field
from typing import Any\n\n
"""