Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
otto-ifak committed Feb 3, 2025
1 parent eb8cefb commit fe08978
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aas_core_codegen/intermediate/_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4419,7 +4419,7 @@ def _verify_only_simple_type_patterns(symbol_table: SymbolTable) -> List[Error]:
or (
isinstance(type_anno.items, OurTypeAnnotation)
and isinstance(
type_anno.items.our_type, (AbstractClass, ConcreteClass)
type_anno.items.our_type, (AbstractClass, ConcreteClass)
)
)
):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
from typing import List


class List_of_primitives():
class List_of_primitives:
strings: List[str]
integers: List[int]
booleans: List[bool]

def __init__(self, strings: List[str], integers: List[int], booleans: List[bool]) -> None:
def __init__(
self, strings: List[str], integers: List[int], booleans: List[bool]
) -> None:
self.strings = strings
self.integers = integers
self.booleans = booleans
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Something:
Indented.
"""

something: List[int]


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Something:
Indented.
"""

something: List[str]


Expand Down

0 comments on commit fe08978

Please sign in to comment.