Skip to content

Commit

Permalink
ignore idl files in check-compliance script
Browse files Browse the repository at this point in the history
  • Loading branch information
kzangeli committed Apr 11, 2024
1 parent 1357905 commit edaced8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/check_files_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def ignore(root, file):
return True

# Apib files have an "inline" license, so they are ignored
extensions_to_ignore = ['apib', 'md']
extensions_to_ignore = ['apib', 'md', 'idl']
if os.path.splitext(file)[1][1:] in extensions_to_ignore:
return True

Expand Down Expand Up @@ -231,7 +231,7 @@ def supported_extension(root, file):
:return:
"""
extensions = ['py', 'cpp', 'c', 'h', 'xml', 'json', 'test', 'vtest', 'txt', 'sh', 'spec', 'cfg', 'DISABLED',
'xtest', 'centos', 'js', 'jmx', 'vtestx', 'feature', 'go', 'jsonld', 'supp', 'cxx', 'ipp', 'hpp']
'xtest', 'centos', 'js', 'jmx', 'vtestx', 'feature', 'go', 'jsonld', 'supp', 'cxx', 'ipp', 'hpp', 'idl']
names = ['makefile', 'Makefile', 'CMakeLists.txt.orion', 'CMakeLists.txt.orionld']

# Check extensions
Expand Down

0 comments on commit edaced8

Please sign in to comment.