mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 19:45:22 +00:00
delete unused function "filter_line"
This commit is contained in:
parent
cebc3f7e24
commit
d56d5feb29
@ -149,10 +149,6 @@ def get_all_imports(
|
|||||||
return list(packages - data)
|
return list(packages - data)
|
||||||
|
|
||||||
|
|
||||||
def filter_line(line):
|
|
||||||
return len(line) > 0 and line[0] != "#"
|
|
||||||
|
|
||||||
|
|
||||||
def generate_requirements_file(path, imports, symbol):
|
def generate_requirements_file(path, imports, symbol):
|
||||||
with _open(path, "w") as out_file:
|
with _open(path, "w") as out_file:
|
||||||
logging.debug('Writing {num} requirements: {imports} to {file}'.format(
|
logging.debug('Writing {num} requirements: {imports} to {file}'.format(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user