GNOME Bugzilla – Bug 739208
validate-launcher: tool-assisted cleanup and commit hook update.
Last modified: 2014-11-08 14:14:54 UTC
I've run pep8 and pyflakes on the launcher python files, and updated the pre-commit hook to run both the common pre-commit hook and a python pre-commit hook adapted from pitivi's hook, that runs pep8 style checks.
Created attachment 289343 [details] [review] validate-launcher: pep8ify sources.
Created attachment 289344 [details] [review] validate-launcher: baseclasses: fix various pyflakes / uncaught pep8 issues.
Created attachment 289345 [details] [review] validate-launcher: loggable: fix various pyflakes / uncaught pep8 issues.
Created attachment 289346 [details] [review] validate-launcher: main: fix various pyflakes / uncaught pep8 issues.
Created attachment 289347 [details] [review] validate-launcher: utils: fix various pyflakes / uncaught pep8 issues.
Created attachment 289348 [details] [review] apps: gstvalidate.py: fix various pyflakes / uncaught pep8 issues.
Created attachment 289349 [details] [review] validate: update pre-commit hook. + Allows to run multiple pre-commit hooks. + Always relink the hooks on autogen. + Run pep8 on commited python files.
The following fixes have been pushed: 85587a9 validate: update pre-commit hook. 7bbd3ed apps: gstvalidate.py: fix various pyflakes / uncaught pep8 issues. 9bdc6e9 validate-launcher: utils: fix various pyflakes / uncaught pep8 issues. b30d27e validate-launcher: main: fix various pyflakes / uncaught pep8 issues. 95065ed validate-launcher: loggable: fix various pyflakes / uncaught pep8 issues. a0a88e1 validate-launcher: baseclasses: fix various pyflakes / uncaught pep8 issues. 8c1e84b validate-launcher: pep8ify sources.
Created attachment 289671 [details] [review] validate: update pre-commit hook. + Allows to run multiple pre-commit hooks. + Always relink the hooks on autogen. + Run pep8 on commited python files.
Created attachment 289672 [details] [review] apps: gstvalidate.py: fix various pyflakes / uncaught pep8 issues.
Created attachment 289673 [details] [review] validate-launcher: utils: fix various pyflakes / uncaught pep8 issues.
Created attachment 289674 [details] [review] validate-launcher: main: fix various pyflakes / uncaught pep8 issues.
Created attachment 289675 [details] [review] validate-launcher: loggable: fix various pyflakes / uncaught pep8 issues.
Created attachment 289676 [details] [review] validate-launcher: baseclasses: fix various pyflakes / uncaught pep8 issues.
Created attachment 289677 [details] [review] validate-launcher: pep8ify sources.