Skip to content

Commit

Permalink
Never try to process auto_additions folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 19, 2024
1 parent b9b8fa9 commit 5012d7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/pyqt5_to_pyqt6/pyqt5_to_pyqt6.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@ def main(argv: Sequence[str] | None = None) -> int:
ret = 0
for filename in glob.glob(os.path.join(args.directory, "**/*.py"), recursive=True):
# print(f'Processing {filename}')
if 'auto_additions' in filename:
continue

ret |= fix_file(filename, not args.qgis3_incompatible_changes)
return ret

Expand Down

0 comments on commit 5012d7d

Please sign in to comment.