fix return type on docs

This commit is contained in:
mateuslatrova 2023-09-18 17:38:34 -03:00 committed by Mateus Latrova
parent d56d5feb29
commit 6ac4357cf4

View File

@ -315,7 +315,7 @@ def parse_requirements(file_):
OSerror: If there's any issues accessing the file. OSerror: If there's any issues accessing the file.
Returns: Returns:
tuple: The contents of the file, excluding comments. list: The contents of the file, excluding comments.
""" """
modules = [] modules = []
# For the dependency identifier specification, see # For the dependency identifier specification, see
@ -353,7 +353,6 @@ def parse_requirements(file_):
return modules return modules
def compare_modules(file_, imports): def compare_modules(file_, imports):
"""Compare modules in a file to imported modules in a project. """Compare modules in a file to imported modules in a project.
@ -362,8 +361,8 @@ def compare_modules(file_, imports):
imports (tuple): Modules being imported in the project. imports (tuple): Modules being imported in the project.
Returns: Returns:
tuple: The modules not imported in the project, but do exist in the set: The modules not imported in the project, but do exist in the
specified file. specified file.
""" """
modules = parse_requirements(file_) modules = parse_requirements(file_)