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

@ -138,7 +138,7 @@ class NTMRotatingLogHandler(object):
def _num_logs(self): def _num_logs(self):
""" """
Scans the log folder and figures out how many log files there are already on disk Scans the log folder and figures out how many log files there are already on disk.
Returns: The number of the last used file (eg. mylog.log.3 would return 3). If there are no logs it returns -1 Returns: The number of the last used file (eg. mylog.log.3 would return 3). If there are no logs it returns -1
""" """

View file

@ -88,7 +88,7 @@ def is_min_size(input_name, min_size):
def is_archive_file(filename): 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: for regext in core.COMPRESSED_CONTAINER:
if regext.search(filename): if regext.search(filename):
return regext.split(filename)[0] 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): def remove_empty_folders(path, remove_root=True):
"""Function to remove empty folders""" """Function to remove empty folders."""
if not os.path.isdir(path): if not os.path.isdir(path):
return return