Skip to content

Commit

Permalink
Merge pull request #32 from abdelrahman0w/fix-pre-commit-hooks
Browse files Browse the repository at this point in the history
fix: pre-commit hooks
  • Loading branch information
abdelrahman0w authored Jan 29, 2024
2 parents 49857ec + 76bf505 commit 7025f27
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ouro/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ def main():
possible_origins = checker.get_possible_origins(cycles)

if cycles:
retv = 1

logger.fail("FOUND CIRCULAR IMPORT(S)!", highlight=True)
logger.warn(
"PROBABLY ONE OF THE FOLLOWING IS THE ORIGIN", highlight=True
Expand All @@ -109,12 +111,16 @@ def main():
f"REPORT EXPORTED TO: {export_path}", highlight=True
)
else:
retv = 0

logger.success("WHOA! NO CIRCULAR IMPORT(S) FOUND!", highlight=True)

logger.info(
f"ELAPSED TIME: {time() - start_time:.2f} seconds", highlight=True
)

return retv


if __name__ == "__main__":
main()
raise SystemExit(main())

0 comments on commit 7025f27

Please sign in to comment.