Skip to content
Browse files

Use the value of pyflakes_ignore, rather than always using a hardcode…

…d string
  • Loading branch information...
1 parent 300030e commit 5ee19c850697c8b1bbd5076a3cc7e61b07e804a4 @singingwolfboy committed Apr 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 sublimelinter/modules/
2 sublimelinter/modules/
@@ -137,7 +137,7 @@ def pyflakes_check(self, code, filename, ignore=None, ignore_globals=None):
if ignore:
lines = code.splitlines()
return [m for m in w.messages
- if not lines[m.lineno - 1].endswith("# pyflakes.ignore")]
+ if not lines[m.lineno - 1].endswith(ignore)]
return w.messages

0 comments on commit 5ee19c8

Please sign in to comment.
Something went wrong with that request. Please try again.