Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
forgot to push
Browse files Browse the repository at this point in the history
  • Loading branch information
iopapamanoglou committed Oct 29, 2024
1 parent b994055 commit 641cf28
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/faebryk/libs/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@ def get_header():
)


def formatted_file_contents(file_contents: str) -> str:
return black.format_str(file_contents, mode=black.Mode())
def formatted_file_contents(file_contents: str, is_pyi: bool = False) -> str:
return black.format_str(
file_contents,
mode=black.Mode(
is_pyi=is_pyi,
),
)

0 comments on commit 641cf28

Please sign in to comment.