Skip to content

Commit d398753

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4b81113 commit d398753

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

fake_api_server/model/rest_api_doc_config/_model_adapter.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,28 +62,28 @@ def _configure_customize(customize: str, value_format: ValueFormat) -> Tuple[str
6262
_digit = Digit(integer=100, decimal=50)
6363
elif formatter is ValueFormat.Date:
6464
_strategy = FormatStrategy.CUSTOMIZE
65-
(_customize, _variables) = _configure_customize("date_value", ValueFormat.Date)
65+
_customize, _variables = _configure_customize("date_value", ValueFormat.Date)
6666
elif formatter is ValueFormat.DateTime:
6767
_strategy = FormatStrategy.CUSTOMIZE
68-
(_customize, _variables) = _configure_customize("datetime_value", ValueFormat.DateTime)
68+
_customize, _variables = _configure_customize("datetime_value", ValueFormat.DateTime)
6969
elif formatter is ValueFormat.EMail:
7070
_strategy = FormatStrategy.CUSTOMIZE
71-
(_customize, _variables) = _configure_customize("email_value", ValueFormat.EMail)
71+
_customize, _variables = _configure_customize("email_value", ValueFormat.EMail)
7272
elif formatter is ValueFormat.UUID:
7373
_strategy = FormatStrategy.CUSTOMIZE
74-
(_customize, _variables) = _configure_customize("uuid_value", ValueFormat.UUID)
74+
_customize, _variables = _configure_customize("uuid_value", ValueFormat.UUID)
7575
elif formatter is ValueFormat.URI:
7676
_strategy = FormatStrategy.CUSTOMIZE
77-
(_customize, _variables) = _configure_customize("uri_value", ValueFormat.URI)
77+
_customize, _variables = _configure_customize("uri_value", ValueFormat.URI)
7878
elif formatter is ValueFormat.URL:
7979
_strategy = FormatStrategy.CUSTOMIZE
80-
(_customize, _variables) = _configure_customize("url_value", ValueFormat.URL)
80+
_customize, _variables = _configure_customize("url_value", ValueFormat.URL)
8181
elif formatter is ValueFormat.IPv4:
8282
_strategy = FormatStrategy.CUSTOMIZE
83-
(_customize, _variables) = _configure_customize("ipv4_value", ValueFormat.IPv4)
83+
_customize, _variables = _configure_customize("ipv4_value", ValueFormat.IPv4)
8484
elif formatter is ValueFormat.IPv6:
8585
_strategy = FormatStrategy.CUSTOMIZE
86-
(_customize, _variables) = _configure_customize("ipv6_value", ValueFormat.IPv6)
86+
_customize, _variables = _configure_customize("ipv6_value", ValueFormat.IPv6)
8787
else:
8888
raise NotImplementedError
8989

0 commit comments

Comments
 (0)