apply Black v23.1.0 formatting changes

This commit is contained in:
ducklet 2023-02-04 01:12:50 +01:00
parent 8e1988eea2
commit 8a8bfce89d
7 changed files with 3 additions and 35 deletions

View file

@ -41,7 +41,6 @@ def fields(class_or_instance):
# XXX this might be a little slow (not sure), if so, memoize
for f in _fields(class_or_instance):
if f.name == "_is_lazy":
continue
@ -108,7 +107,6 @@ def asplain(
d: JSONObject = {}
for f in fields(o):
if filter_fields is not None and f.name not in filter_fields:
continue
@ -156,7 +154,6 @@ def fromplain(cls: Type[T], d: dict[str, Any], *, serialized: bool = False) -> T
dd: JSONObject = {}
for f in fields(cls):
target = f.type
otype = optional_type(f.type)
is_opt = otype is not None