Fix flake8-docstrings D400 First line should end with a period

This commit is contained in:
Labrys of Knossos 2019-04-05 15:16:06 -04:00
commit 6f6c9bcc9d
3 changed files with 3 additions and 3 deletions

View file

@ -88,7 +88,7 @@ def is_min_size(input_name, min_size):
def is_archive_file(filename):
"""Check if the filename is allowed for the Archive"""
"""Check if the filename is allowed for the Archive."""
for regext in core.COMPRESSED_CONTAINER:
if regext.search(filename):
return regext.split(filename)[0]

View file

@ -74,7 +74,7 @@ def get_dir_size(input_path):
def remove_empty_folders(path, remove_root=True):
"""Function to remove empty folders"""
"""Function to remove empty folders."""
if not os.path.isdir(path):
return