##// END OF EJS Templates
py3: use absolute_import in import-checker
timeless -
r28702:e44f6710 default
parent child Browse files
Show More
@@ -1,5 +1,7 b''
1 #!/usr/bin/env python
1 #!/usr/bin/env python
2
2
3 from __future__ import absolute_import
4
3 import ast
5 import ast
4 import collections
6 import collections
5 import os
7 import os
@@ -3,7 +3,6 b''
3 $ cd "$TESTDIR"/..
3 $ cd "$TESTDIR"/..
4
4
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
6 contrib/import-checker.py not using absolute_import
7 contrib/import-checker.py requires print_function
6 contrib/import-checker.py requires print_function
8 doc/check-seclevel.py not using absolute_import
7 doc/check-seclevel.py not using absolute_import
9 doc/gendoc.py not using absolute_import
8 doc/gendoc.py not using absolute_import
General Comments 0
You need to be logged in to leave comments. Login now