Skip to content

Commit

Permalink
trivial
Browse files Browse the repository at this point in the history
  • Loading branch information
graebm committed Sep 29, 2023
1 parent 67c510b commit 23b82fe
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions runners/s3-benchrunner-c/scripts/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@

PARSER = argparse.ArgumentParser(description="Check formatting")

GLOB_PATTERNS = [
'*.cpp',
'*.h',
]

if __name__ == '__main__':
args = PARSER.parse_args()

runner_dir = Path(__file__).parent.parent
files: list[str] = []
for pattern in GLOB_PATTERNS:
for pattern in ['*.cpp', '*.h']:
for i in runner_dir.glob(pattern):
files.append(str(i))

Expand Down

0 comments on commit 23b82fe

Please sign in to comment.