Mercurial > hg
comparison tests/filterpyflakes.py @ 27285:aef5b606d3ee
tests/filterpyflakes: use absolute_import
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 06 Dec 2015 22:22:09 -0800 |
parents | 48671378daeb |
children | cf339d6ac7c7 |
comparison
equal
deleted
inserted
replaced
27284:f624b0e69105 | 27285:aef5b606d3ee |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 # Filter output by pyflakes to control which warnings we check | 3 # Filter output by pyflakes to control which warnings we check |
4 | 4 |
5 import sys, re | 5 from __future__ import absolute_import |
6 | |
7 import re | |
8 import sys | |
6 | 9 |
7 def makekey(typeandline): | 10 def makekey(typeandline): |
8 """ | 11 """ |
9 for sorting lines by: msgtype, path/to/file, lineno, message | 12 for sorting lines by: msgtype, path/to/file, lineno, message |
10 | 13 |