Mercurial > kallithea
comparison docs/dev/translation.rst @ 7365:29b8e961436f
paster_commands: remove unused imports
Remove some unused imports, using 'autoflake' followed by manual redacting.
find kallithea/lib/paster_commands/ -name "*.py" \
| xargs autoflake --remove-all-unused-imports -i
This same command could be applied gradually throughout the code base as
areas are touched. Since autoflake may be too greedy in special cases, it is
more difficult to do a big-bang action over all code.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Thu, 30 Aug 2018 20:28:23 +0200 |
parents | 5262c498b3a0 |
children |
comparison
equal
deleted
inserted
replaced
7364:61bd3efe4a6c | 7365:29b8e961436f |
---|