Skip to content

Commit

Permalink
Improve skip messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Oct 21, 2023
1 parent 19b07e5 commit 2ceb454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fast_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def run_cmd(self, files: list[str], skip_list: list[str], no_change_filter: bool
files = [f for f in files if any(f.endswith(e) for e in self.extensions)]

if self.command in skip_list or (self.accepts_files and not no_change_filter and not files):
logging.info(f"SKIP: {self.command}")
logging.info(f"SKIP: {self.command} (no modified files)")
return True

if not self.accepts_files:
Expand Down

0 comments on commit 2ceb454

Please sign in to comment.