Fix some webapi-lint issues.
Review Request #9686 — Created Feb. 20, 2018 and submitted
This change fixes up a handful of errors detected by webapi-lint. The
bulk of the problems were misformatted docstrings and misnamed things,
but there were a few missing tests or decorators. None of these actually
present as security issues.
- Ran webapi-lint.
- Ran unit tests.
Change Summary:
Fix one more issue (not caught by webapi-lint) that I juist happened to notice while the tests were running.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+125 -14) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
Branch: |
|
||||
---|---|---|---|---|---|
Commit: |
|
||||
Diff: |
Revision 3 (+125 -14) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
-
-
reviewboard/webapi/resources/extension.py (Diff revision 3) Should be
reviewboard.extensions.base.Extension
. -
Branch: |
|
||||
---|---|---|---|---|---|
Commit: |
|
||||
Diff: |
Revision 4 (+126 -14) |
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.