Skip to content

Commit

Permalink
Do not parse excluded files (#2395)
Browse files Browse the repository at this point in the history
  • Loading branch information
sathieu committed Sep 7, 2022
1 parent 72657d0 commit 9b5bad4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ansiblelint/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def run(self) -> list[MatchError]: # noqa: C901
if self.is_excluded(lintable):
_logger.debug("Excluded %s", lintable)
self.lintables.remove(lintable)
continue
try:
lintable.data
except RuntimeError as exc:
Expand Down

0 comments on commit 9b5bad4

Please sign in to comment.