Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
thearyadev committed Jan 6, 2023
1 parent 3e7b7a7 commit 19c4b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sort_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def exec_file(file: str):
if "__init__" not in file:
if "__init__" not in file: # do not run in __init__.py files
subprocess.run(
f"autoflake --in-place --remove-unused-variables --remove-all-unused-imports {file}")
isort.file(file)
Expand Down

0 comments on commit 19c4b58

Please sign in to comment.