##// END OF EJS Templates
scripts: run isort on scripts too
Mads Kiilerich -
r8156:abb83e4e default
parent child Browse files
Show More
@@ -5,9 +5,11 b' Inspired by pyflakes/api.py and flake8/p'
5 5 """
6 6
7 7 import sys
8
8 9 import pyflakes.api
9 10 import pyflakes.messages
10 11
12
11 13 class Reporter:
12 14
13 15 warned = False
@@ -18,6 +18,6 b' hg mani | xargs chmod -x'
18 18 hg loc 'set:!binary()&grep("^#!")&!(**_tmpl.py)&!(**/template**)' | xargs chmod +x
19 19
20 20 # isort is installed from dev_requirements.txt
21 isort --line-width 160 --wrap-length 160 --lines-after-imports 2 `hg loc '*.py'`
21 hg loc 'set:!binary()&grep("^#!.*python")' '*.py' | xargs isort --line-width 160 --wrap-length 160 --lines-after-imports 2
22 22
23 23 hg diff
General Comments 0
You need to be logged in to leave comments. Login now