mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Skip some files
This commit is contained in:
parent
31325f4893
commit
ee3b7502dc
1 changed files with 10 additions and 0 deletions
|
|
@ -18,8 +18,18 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
f.write("// ignore_for_file: unused_import\n\n")
|
f.write("// ignore_for_file: unused_import\n\n")
|
||||||
|
|
||||||
|
skips = [
|
||||||
|
'generated',
|
||||||
|
'l10n',
|
||||||
|
'dummy_dsn.dart',
|
||||||
|
]
|
||||||
|
|
||||||
for path in dart_files:
|
for path in dart_files:
|
||||||
path = str(path)
|
path = str(path)
|
||||||
|
|
||||||
|
if any([s in path for s in skips]):
|
||||||
|
continue
|
||||||
|
|
||||||
# Remove leading 'lib\' text
|
# Remove leading 'lib\' text
|
||||||
path = path[4:]
|
path = path[4:]
|
||||||
path = path.replace('\\', '/')
|
path = path.replace('\\', '/')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue