Permalink
Browse files

Merge pull request #13 from mattrobenolt/patch-1

Allow specifying optional dependencies to ignore
  • Loading branch information...
2 parents fa9b3ec + 163bb61 commit af1334954e48ffa145d89aa0cb3201925f424ef9 @dcramer committed Jan 2, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/piplint/__init__.py
View
2 src/piplint/__init__.py
@@ -82,6 +82,8 @@ def is_requirements_line(line):
return False
if line.startswith('#'):
return False
+ if line.endswith(' # optional'):
+ return False
if line.startswith('-e'):
return True
if line.startswith('-'):

0 comments on commit af13349

Please sign in to comment.