Skip to content

Commit

Permalink
update dotfiles/dirs detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Илья Лебедев committed Jul 29, 2019
1 parent cda8997 commit 112165e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rozental_as_a_service/rozental.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def extract_all_constants_from_path(
for extension, extension_extractors in extension_to_extractor_mapping.items():
all_files = get_all_filepathes_recursively(path, exclude, extension)
if not process_dots:
all_files = [f for f in all_files if '/.' not in f]
all_files = [f for f in all_files if '/.' not in f and not f.startswith('.')]
if not all_files:
continue
chunk_size = math.ceil(len(all_files) / processes_amount)
Expand Down

0 comments on commit 112165e

Please sign in to comment.