Autoreformat code while building

autoreformat while build
This commit is contained in:
mosquito
2022-10-27 15:57:10 +03:00
parent 096bb9f5e4
commit 573f9d62b8
135 changed files with 6847 additions and 1508 deletions
@@ -1,10 +1,13 @@
# Generated code. Do not modify.
# flake8: noqa: F401, F405, F811
from __future__ import annotations
from pydivkit.core import BaseDiv, Field
import enum
import typing
from pydivkit.core import BaseDiv, Field
# A string variable.
class StringVariable(BaseDiv):
@@ -13,7 +16,7 @@ class StringVariable(BaseDiv):
self, *,
name: str,
value: str,
type: str = 'string',
type: str = "string",
):
super().__init__(
type=type,
@@ -21,9 +24,14 @@ class StringVariable(BaseDiv):
value=value,
)
type: str = Field(default='string')
name: str = Field(min_length=1, description='Variable name.')
value: str = Field(description='Value.')
type: str = Field(default="string")
name: str = Field(
min_length=1,
description="Variable name.",
)
value: str = Field(
description="Value.",
)
StringVariable.update_forward_refs()