Commits

cyberdelia committed d7ed866

allow the flake8: header to be more generic

  • Participants
  • Parent commits 46dc28e
  • Branches file-header

Comments (0)

Files changed (1)

     return line.strip().lower().endswith('# noqa')
 
 
-_NOQA = re.compile(r'^# flake8: noqa', re.I | re.M)
+_NOQA = re.compile(r'flake8[:=]\s*noqa', re.I | re.M)
 
 
 def skip_file(path):