Do some clean-up on the ReviewBot worker code.
Review Request #8433 — Created Sept. 24, 2016 and submitted
This change adds unicode_literals, docstrings, and does some cleanup for the
worker code. I haven't done docstrings for the individual tools because I got
lazy.
Tested that workers still responded correctly.
Description | From | Last Updated | ||
---|---|---|---|---|
Also optional, I think. |
|
|||
Missing env |
|
|||
I think these are optional. At least, there are default args set. |
|
|||
Can we call this queue_name ? |
|
|||
"File" |
|
|||
% (...) on next line |
|
|||
Mind putting a blank line here? |
|
|||
And here. |
|
|||
"temporary" |
|
|||
"bool" |
|
|||
"bool" |
|
|||
"bool" |
|
|||
"bool" |
|
|||
"will only single line comment" might be missing a word or two. |
|
|||
Missing trailing period. |
|
|||
Missing a type. |
|
|||
"bool" |
|
|||
"bool" |
|
|||
"bool" |
|
|||
Missing a type. |
|
|||
"bool" |
|
|||
Missing a "Returns". |
|
|||
"bool" |
|
|||
"bool" |
|
|||
"bool" |
|
|||
:py:attr: is only for class attributes. There's no role for parameters. This should just use standard double backticks. |
|
|||
"bool" |
|
|||
There are no open issues |

-
Tool: Pyflakes Processed Files: bot/reviewbot/tools/process.py bot/reviewbot/tasks.py bot/reviewbot/utils.py bot/reviewbot/tools/__init__.py bot/reviewbot/tools/pyflakes.py bot/reviewbot/tools/pep8.py bot/reviewbot/processing/filesystem.py bot/reviewbot/tools/cpplint.py bot/reviewbot/tools/buildbot.py bot/reviewbot/celery.py bot/reviewbot/tools/cppcheck.py bot/reviewbot/tools/jshint.py bot/reviewbot/__init__.py bot/reviewbot/processing/review.py Tool: PEP8 Style Checker Processed Files: bot/reviewbot/tools/process.py bot/reviewbot/tasks.py bot/reviewbot/utils.py bot/reviewbot/tools/__init__.py bot/reviewbot/tools/pyflakes.py bot/reviewbot/tools/pep8.py bot/reviewbot/processing/filesystem.py bot/reviewbot/tools/cpplint.py bot/reviewbot/tools/buildbot.py bot/reviewbot/celery.py bot/reviewbot/tools/cppcheck.py bot/reviewbot/tools/jshint.py bot/reviewbot/__init__.py bot/reviewbot/processing/review.py

-
Tool: Pyflakes Processed Files: bot/reviewbot/tools/process.py bot/reviewbot/tasks.py bot/reviewbot/utils.py bot/reviewbot/tools/__init__.py bot/reviewbot/tools/pyflakes.py bot/reviewbot/tools/pep8.py bot/reviewbot/processing/filesystem.py bot/reviewbot/tools/cpplint.py bot/reviewbot/tools/buildbot.py bot/reviewbot/celery.py bot/reviewbot/tools/cppcheck.py bot/reviewbot/tools/jshint.py bot/reviewbot/__init__.py bot/reviewbot/processing/review.py Tool: PEP8 Style Checker Processed Files: bot/reviewbot/tools/process.py bot/reviewbot/tasks.py bot/reviewbot/utils.py bot/reviewbot/tools/__init__.py bot/reviewbot/tools/pyflakes.py bot/reviewbot/tools/pep8.py bot/reviewbot/processing/filesystem.py bot/reviewbot/tools/cpplint.py bot/reviewbot/tools/buildbot.py bot/reviewbot/celery.py bot/reviewbot/tools/cppcheck.py bot/reviewbot/tools/jshint.py bot/reviewbot/__init__.py bot/reviewbot/processing/review.py

-
Tool: Pyflakes Processed Files: bot/reviewbot/tools/process.py bot/reviewbot/tasks.py bot/reviewbot/utils.py bot/reviewbot/tools/__init__.py bot/reviewbot/tools/pyflakes.py bot/reviewbot/tools/pep8.py bot/reviewbot/processing/filesystem.py bot/reviewbot/tools/cpplint.py bot/reviewbot/tools/buildbot.py bot/reviewbot/celery.py bot/reviewbot/tools/cppcheck.py bot/reviewbot/tools/jshint.py bot/reviewbot/__init__.py bot/reviewbot/processing/review.py Tool: PEP8 Style Checker Processed Files: bot/reviewbot/tools/process.py bot/reviewbot/tasks.py bot/reviewbot/utils.py bot/reviewbot/tools/__init__.py bot/reviewbot/tools/pyflakes.py bot/reviewbot/tools/pep8.py bot/reviewbot/processing/filesystem.py bot/reviewbot/tools/cpplint.py bot/reviewbot/tools/buildbot.py bot/reviewbot/celery.py bot/reviewbot/tools/cppcheck.py bot/reviewbot/tools/jshint.py bot/reviewbot/__init__.py bot/reviewbot/processing/review.py