Fix flake8-docstrings D401 First line should be in imperative mood

This commit is contained in:
Labrys of Knossos 2019-04-05 15:20:23 -04:00
commit 10b2eab3c5
5 changed files with 9 additions and 9 deletions

View file

@ -29,7 +29,7 @@ def sanitize_name(name):
def clean_file_name(filename):
"""
Cleans up nzb name by removing any . and _ characters and trailing hyphens.
Clean up nzb name by removing any . and _ characters and trailing hyphens.
Is basically equivalent to replacing all _ and . with a
space, but handles decimal numbers in string, for example:

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."""
"""Remove empty folders."""
if not os.path.isdir(path):
return