Skip to content

Commit

Permalink
Revert "Revert "debug""
Browse files Browse the repository at this point in the history
This reverts commit 704b0f3.
  • Loading branch information
geminixiang committed Jan 6, 2025
1 parent 704b0f3 commit 26863af
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/pr_lint/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import typer
from github import Github

from .formatter import format
# from .formatter import format
from .linter import lint

app = typer.Typer()
Expand All @@ -30,10 +30,8 @@ def main() -> None:
pr = repo.get_pull(int(pr_number))

lint(pr)
try:
format(pr)
except Exception as e:
logging.error(e)
logging.error("lint(pr)")
# format(pr)


if __name__ == "__main__":
Expand Down

0 comments on commit 26863af

Please sign in to comment.