mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-07 12:05:33 +00:00
Fix 227
Fix flake 8 error
This commit is contained in:
parent
23e0e5c4d0
commit
7e23be2d4d
@ -161,8 +161,8 @@ def get_all_imports(
|
|||||||
return list(packages - data)
|
return list(packages - data)
|
||||||
|
|
||||||
|
|
||||||
def filter_line(l):
|
def filter_line(line):
|
||||||
return len(l) > 0 and l[0] != "#"
|
return len(line) > 0 and line[0] != "#"
|
||||||
|
|
||||||
|
|
||||||
def generate_requirements_file(path, imports):
|
def generate_requirements_file(path, imports):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user