Changeset - 3f1b9b9b0505
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 6 years ago 2019-05-21 23:55:35
drewp@bigasterisk.com
add yapf tool
Ignore-this: 28fe07e21ca358a97282f5316c8820e0
2 files changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
makefile
Show inline comments
 
@@ -47,24 +47,27 @@ tkdnd_build:
 

	
 
### build ###
 

	
 
coffee:
 
	zsh -c 'cd light9/web; ../../node_modules/coffeescript/bin/coffee --map -cw {.,live,timeline,paint,effects}/*.coffee'
 

	
 
mypy-collector:
 
	env/bin/mypy --ignore-missing-imports --strict-optional --custom-typeshed-dir stubs --html-report /tmp/rep bin/collector light9/collector/*.py
 

	
 
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:
 
	darcs add --quiet --recursive ${LIGHT9_SHOW} 
 
	darcs rec -a -m "checkpoint show data" ${LIGHT9_SHOW}
 

	
 
### pi setup ###
 

	
 
raspberry_pi_packages:
 
	sudo apt-get install python3-picamera python3-dev python3-twisted python3-virtualenv
 

	
 
raspberry_pi_virtualenv:
requirements.txt
Show inline comments
 
@@ -19,21 +19,22 @@ python-dateutil==2.6.0
 
pyusb==1.0.0
 
rdflib==4.2.2
 
requests==2.22.0
 
scipy==1.3.0
 
service_identity==18.1.0
 
statprof==0.1.2
 
toposort==1.5
 
treq==18.6.0
 
txzmq==0.8.0
 
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
 
git+http://github.com/webpy/webpy@ace0f8954c28311004b33c7a513c6e40a3c02470#egg=web
 
https://github.com/drewp/cyclone/archive/python3.zip#egg=cyclone
 

	
 
rdfdb==0.8.0
 

	
 

	
0 comments (0 inline, 0 general)