Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arlosiggio committed Apr 29, 2024
1 parent 77c6a95 commit 69dea24
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions scripts/run-clippy.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,11 @@ def clean_up(self, root):

def print_clippy_errors(errors):
if errors:
<<<<<<< HEAD
print(f"{RED}\nClippy errors detected in the following directories:{ENDC}")
for error_dir in errors:
print(f"• {error_dir}")
else:
print(f"{GREEN}\nNo clippy issues found across all directories.{ENDC}")
=======
print(Red(f"\nClippy errors detected in the following directories:"))
for error_dir in errors:
print(f"• {error_dir}")
else:
print(Green(f"\nNo clippy issues found across all directories."))
>>>>>>> main


if __name__ == "__main__":
Expand All @@ -61,12 +53,7 @@ def print_clippy_errors(errors):
)

args = parser.parse_args()
<<<<<<< HEAD

errors = run_clippy(args.dir)
=======
errors = ClippyRunner().run(args.dir) # errors = run_clippy(args.dir)
>>>>>>> main
print_clippy_errors(errors)
if errors:
exit(1)

0 comments on commit 69dea24

Please sign in to comment.