Skip to content

Commit fe08978

Browse files
committed
Code formatting
1 parent eb8cefb commit fe08978

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

aas_core_codegen/intermediate/_translate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4419,7 +4419,7 @@ def _verify_only_simple_type_patterns(symbol_table: SymbolTable) -> List[Error]:
44194419
or (
44204420
isinstance(type_anno.items, OurTypeAnnotation)
44214421
and isinstance(
4422-
type_anno.items.our_type, (AbstractClass, ConcreteClass)
4422+
type_anno.items.our_type, (AbstractClass, ConcreteClass)
44234423
)
44244424
)
44254425
):

test_data/jsonschema/test_main/list_of_primitives/meta_model.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
from typing import List
22

33

4-
class List_of_primitives():
4+
class List_of_primitives:
55
strings: List[str]
66
integers: List[int]
77
booleans: List[bool]
88

9-
def __init__(self, strings: List[str], integers: List[int], booleans: List[bool]) -> None:
9+
def __init__(
10+
self, strings: List[str], integers: List[int], booleans: List[bool]
11+
) -> None:
1012
self.strings = strings
1113
self.integers = integers
1214
self.booleans = booleans

test_data/parse/expected/list_of_primitives/int/meta_model.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Something:
44
55
Indented.
66
"""
7+
78
something: List[int]
89

910

test_data/parse/expected/list_of_primitives/string/meta_model.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Something:
44
55
Indented.
66
"""
7+
78
something: List[str]
89

910

0 commit comments

Comments
 (0)