Skip to content

Commit

Permalink
Remove .md from linting
Browse files Browse the repository at this point in the history
  • Loading branch information
aivora-beamng committed May 14, 2024
1 parent adcff5f commit 09517cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/lint_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ def fix_file(filename):

for root, dirs, files in os.walk(top, topdown=True):

excluded = ['build', 'fmi1_cs', 'fmi1_me', 'fmi2', 'fmi3', 'fmus', 'fmusim', 'ThirdParty', 'venv']
excluded = ['build', 'fmi1_cs', 'fmi1_me', 'fmi2', 'fmi3', 'fmus', 'fmusim', 'ThirdParty', 'venv0']

# skip build, git, and cache directories
dirs[:] = [d for d in dirs if d not in excluded and not os.path.basename(d).startswith(('.', '_'))]

for file in files:

if not file.lower().endswith(('.h', '.c', '.md', '.html', '.csv', '.txt', '.xml')):
if not file.lower().endswith(('.h', '.c', '.html', '.csv', '.txt', '.xml')):
continue

if file.lower().endswith(('.tab.c', '.yy.c')):
Expand Down

0 comments on commit 09517cd

Please sign in to comment.