7737c17d52
Done with ad hoc scripting hacks processing unused imports found by pyflakes: for f in $( find * -name wscript ); do echo; pyflakes $f; done | grep 'waflib.Logs.* but unused' | cut -d: -f1 | while read f; do sed -i 's/^import waflib.Logs as Logs,/import/g' $f; done for f in $( find * -name wscript ); do echo; pyflakes $f; done | grep 'waflib.Options.* but unused' | cut -d: -f1 | while read f; do sed -i 's/import waflib.Options as Options, /import /g' $f; done for f in $( find * -name wscript ); do echo; pyflakes $f; done | grep 'waflib.Options.* but unused' | cut -d: -f1 | while read f; do sed -i 's/^from waflib import Options,/from waflib import/g' $f; done for f in $( find * -name wscript ); do echo; pyflakes $f; done | grep ' imported but unused$' | sed "s/^\([^:]*\):[0-9]*:[0-9]* '\(.*\)'.*/\1 \2/g" | while read f lib; do sed -i "/^import $lib$/d" $f; done for f in $( find * -name wscript ); do echo; pyflakes $f; done | grep 'waflib.Options.* but unused' | cut -d: -f1 | while read f; do sed -i '/from waflib import Options$/d' $f; done for f in $( find * -name wscript ); do echo; pyflakes $f; done | grep 'waflib.TaskGen.* but unused' | cut -d: -f1 | while read f; do sed -i '/from waflib import TaskGen$/d' $f; done for f in $( find * -name wscript ); do echo; pyflakes $f; done | grep 'waflib.Task.Task.* but unused' | cut -d: -f1 | while read f; do sed -i '/^from waflib.Task import Task$/d' $f; done for f in $( find * -name wscript ); do echo; pyflakes $f; done | grep 'waflib.Tools.winres.* but unused' | cut -d: -f1 | while read f; do sed -i '/^from waflib.Tools import winres$/d' $f; done for f in $( find * -name wscript ); do echo; pyflakes $f; done | grep 'waflib.Utils.* but unused' | cut -d: -f1 | while read f; do sed -i '/^import waflib.Utils as Utils$/d' $f; done |
||
---|---|---|
.. | ||
ARDOUR | ||
bb | ||
CrashReporter | ||
doxy2json | ||
fluid-patches | ||
gccabicheck | ||
icons | ||
linux_packaging | ||
misc_resources | ||
omf | ||
osx_packaging | ||
patches | ||
sanity_check | ||
signal-test | ||
smf-load | ||
udev | ||
videotimeline | ||
vst3-patches | ||
x-win | ||
as-metainfo.its | ||
autowaf.py | ||
avahi.sh | ||
clang-format | ||
cstyle.py | ||
ctagsparse.py | ||
define_versions.sh | ||
f2s | ||
fmt-bindings | ||
fmt-luadoc.php | ||
jacktest.c | ||
list_scripts.lua | ||
misc.py | ||
msvc32-fixup.pl | ||
nofuzz.sh | ||
objc.supp | ||
peakdump.c | ||
pre-commit | ||
process-metadata | ||
readtest.c | ||
resample_session.pl | ||
run-readtest.sh | ||
run-threadreadtest.sh | ||
run-writetest.sh | ||
session_exchange.py | ||
sfrtest.cc | ||
sftest.cc | ||
split_benchmark.lua | ||
synthesize_sources.pl | ||
thread_readtest.cc | ||
update_fluidsynth.sh | ||
update_luadoc.sh | ||
update_lv2stack.sh | ||
update_qm-dsp.sh | ||
update_qm-vamp.sh | ||
update_vst3.sh | ||
valgrind.supp |