Mercurial > code > home > repos > light9
changeset 1857:3f1b9b9b0505
add yapf tool
Ignore-this: 28fe07e21ca358a97282f5316c8820e0
author | drewp@bigasterisk.com |
---|---|
date | Tue, 21 May 2019 23:55:35 +0000 |
parents | 55e41b61b472 |
children | 7772cc48e016 |
files | makefile requirements.txt |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/makefile Tue May 21 23:37:26 2019 +0000 +++ b/makefile Tue May 21 23:55:35 2019 +0000 @@ -56,6 +56,9 @@ mypy-paint: env/bin/mypy --ignore-missing-imports --strict-optional --custom-typeshed-dir stubs --html-report /tmp/rep light9/paint/*.py +reformat: + env/bin/yapf --verbose --parallel --in-place --style google light9/**/*.py `file --no-pad bin/* | grep 'Python script' | perl -lpe 's/:.*//'` + ### show ### darcs_show_checkpoint:
--- a/requirements.txt Tue May 21 23:37:26 2019 +0000 +++ b/requirements.txt Tue May 21 23:55:35 2019 +0000 @@ -28,6 +28,7 @@ typing==3.6.1 watchdog==0.8.3 webcolors==1.7 +yapf==0.27.0 git+http://github.com/drewp/scales.git@448d59fb491b7631877528e7695a93553bfaaa93#egg=scales git+http://github.com/11craft/louie.git@f18bb71010c114eca9c6b88c96453340e3b39454#egg=louie