Skip to content

Commit

Permalink
test action
Browse files Browse the repository at this point in the history
  • Loading branch information
cacharle committed Aug 28, 2023
1 parent c8ec3c5 commit d327da4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions c_formatter_42/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@


def main():
print("hello")
arg_parser = argparse.ArgumentParser(
prog="c_formatter_42",
description="Format C source according to the norm",
Expand Down Expand Up @@ -47,9 +48,7 @@ def main():
with open(filepath, "r") as file:
content = file.read()
if args.confirm:
result = input(
f"Are you sure you want to overwrite {filepath}?[y/N]"
)
result = input(f"Are you sure you want to overwrite {filepath}?[y/N]")
if result != "y":
continue
print(f"Writing to {filepath}")
Expand Down

0 comments on commit d327da4

Please sign in to comment.