Changeset - abb83e4edfd9
[Not reviewed]
default
0 2 0
Mads Kiilerich (mads) - 6 years ago 2020-03-06 19:37:10
mads@kiilerich.com
scripts: run isort on scripts too
2 files changed with 3 insertions and 1 deletions:
0 comments (0 inline, 0 general)
scripts/pyflakes
Show inline comments
 
@@ -5,9 +5,11 @@ Inspired by pyflakes/api.py and flake8/p
 
"""
 

	
 
import sys
 

	
 
import pyflakes.api
 
import pyflakes.messages
 

	
 

	
 
class Reporter:
 

	
 
    warned = False
scripts/whitespacecleanup.sh
Show inline comments
 
@@ -18,6 +18,6 @@ hg mani | xargs chmod -x
 
hg loc 'set:!binary()&grep("^#!")&!(**_tmpl.py)&!(**/template**)' | xargs chmod +x
 

	
 
# isort is installed from dev_requirements.txt
 
isort --line-width 160 --wrap-length 160 --lines-after-imports 2 `hg loc '*.py'`
 
hg loc 'set:!binary()&grep("^#!.*python")' '*.py' | xargs isort --line-width 160 --wrap-length 160 --lines-after-imports 2
 

	
 
hg diff
0 comments (0 inline, 0 general)