mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 03:25:21 +00:00
Merge pull request #203 from jonafato/fix-flake8
Fix flake8 error for latest release
This commit is contained in:
commit
060f52f597
@ -157,8 +157,8 @@ def get_all_imports(
|
||||
return list(packages - data)
|
||||
|
||||
|
||||
def filter_line(l):
|
||||
return len(l) > 0 and l[0] != "#"
|
||||
def filter_line(line):
|
||||
return len(line) > 0 and line[0] != "#"
|
||||
|
||||
|
||||
def generate_requirements_file(path, imports):
|
||||
|
Loading…
x
Reference in New Issue
Block a user