2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-27 21:16:48 +00:00

Skip some files

This commit is contained in:
Oliver Walters 2022-05-21 20:30:00 +10:00
parent 31325f4893
commit ee3b7502dc

View File

@ -18,8 +18,18 @@ if __name__ == '__main__':
f.write("// ignore_for_file: unused_import\n\n")
skips = [
'generated',
'l10n',
'dummy_dsn.dart',
]
for path in dart_files:
path = str(path)
if any([s in path for s in skips]):
continue
# Remove leading 'lib\' text
path = path[4:]
path = path.replace('\\', '/')