comparison tests/check-perf-code.py @ 48875:6000f5b25c9b

py2: remove simple from __future__ statements These were needed for Python 2 support. Now that our linter no longer mandates these, we can start deleting them. Differential Revision: https://phab.mercurial-scm.org/D12254
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 03 Mar 2022 17:34:00 +0100
parents c102b704edb5
children
comparison
equal deleted inserted replaced
48874:af0b21d5a930 48875:6000f5b25c9b
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 # 2 #
3 # check-perf-code - (historical) portability checker for contrib/perf.py 3 # check-perf-code - (historical) portability checker for contrib/perf.py
4 4
5 from __future__ import absolute_import
6 5
7 import os 6 import os
8 import sys 7 import sys
9 8
10 # write static check patterns here 9 # write static check patterns here