# HG changeset patch # User drewp@bigasterisk.com # Date 1558482935 0 # Node ID 3f1b9b9b05058f57d5f66b20c95cecd6ec9b1999 # Parent 55e41b61b4720aa0907188875097b58f3efc34b4 add yapf tool Ignore-this: 28fe07e21ca358a97282f5316c8820e0 diff -r 55e41b61b472 -r 3f1b9b9b0505 makefile --- 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: diff -r 55e41b61b472 -r 3f1b9b9b0505 requirements.txt --- 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