mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-14 03:31:50 +02:00
fix(cli): add type ignore comment to generated files
This commit is contained in:
@ -1,4 +1,5 @@
|
|||||||
# This file was automatically generated by generate_cli.py
|
# This file was automatically generated by generate_cli.py
|
||||||
|
# type: ignore
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
@ -44,7 +44,8 @@ from typing import Literal, Optional
|
|||||||
if self._base
|
if self._base
|
||||||
else "\n"
|
else "\n"
|
||||||
)
|
)
|
||||||
self.header = f"""# This file was automatically generated by generate_cli.py\n
|
self.header = f"""# This file was automatically generated by generate_cli.py
|
||||||
|
# type: ignore \n
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
{base_imports}
|
{base_imports}
|
||||||
from bec_lib.logger import bec_logger
|
from bec_lib.logger import bec_logger
|
||||||
|
Reference in New Issue
Block a user