Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunderberg committed Sep 25, 2023
1 parent 965bc30 commit 1f787c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/tir/schedule/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,6 @@ def show(self, style: Optional[str] = None, black_format: bool = False) -> None:

if black_format is None:
env = os.environ.get("TVM_BLACK_FORMAT")
black_format = env and int(env)
black_format = bool(env and int(env))

cprint(str(self), style=style, black_format=black_format)

0 comments on commit 1f787c6

Please sign in to comment.