mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-06 19:45:22 +00:00
fixed lint issues
This commit is contained in:
parent
6bfb9b8918
commit
190ce1c894
@ -170,10 +170,6 @@ def get_all_imports(path, encoding=None, extra_ignore_dirs=None, follow_links=Tr
|
||||
return list(packages - data)
|
||||
|
||||
|
||||
def filter_line(line):
|
||||
return len(line) > 0 and line[0] != "#"
|
||||
|
||||
|
||||
def filter_ext(file_name, acceptable):
|
||||
return os.path.splitext(file_name)[1] in acceptable
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user