Skip to content

Commit

Permalink
add more default paths to exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
zerwes committed Aug 7, 2022
1 parent 33c24eb commit 6325117
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fqcn-fixer.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,10 @@ def isexcluded(path, _exclude_paths):

# build exclude_paths
exclude_paths = []
for ep in args.exclude_paths + [".cache", ".git", ".hg", ".svn", ".tox", args.fqcnmapfile]:
for ep in args.exclude_paths:
exclude_paths.append(os.path.abspath(ep))
# some deafaults to exclude
for ep in [".cache", ".git", ".hg", ".svn", ".tox", ".collections", args.fqcnmapfile]:
exclude_paths.append(os.path.abspath(ep))

# update some args from optional config file
Expand Down

0 comments on commit 6325117

Please sign in to comment.