##// END OF EJS Templates
scripts: introduce import cleanup using isort
Mads Kiilerich -
r7717:56983073 default
parent child Browse files
Show More
@@ -6,3 +6,4 b' pytest-localserver < 0.6'
6 mock < 3.1
6 mock < 3.1
7 Sphinx < 1.9
7 Sphinx < 1.9
8 WebTest < 2.1
8 WebTest < 2.1
9 isort == 4.3.21
@@ -17,4 +17,7 b" sed -i -e 's|^\\([^ /].*,\\)\\([^ ]\\)|\\1 \\2"
17 hg mani | xargs chmod -x
17 hg mani | xargs chmod -x
18 hg loc 'set:!binary()&grep("^#!")&!(**_tmpl.py)&!(**/template**)' | xargs chmod +x
18 hg loc 'set:!binary()&grep("^#!")&!(**_tmpl.py)&!(**/template**)' | xargs chmod +x
19
19
20 # isort is installed from dev_requirements.txt
21 isort --line-width 160 --wrap-length 160 --lines-after-imports 2 `hg loc '*.py'`
22
20 hg diff
23 hg diff
General Comments 0
You need to be logged in to leave comments. Login now