Merge ~cjwatson/lazr.restful:fix-flake8 into lazr.restful:main
Proposed by
Colin Watson
Status: | Merged |
---|---|
Merged at revision: | 82f52442df2ff3dde5e8df02152e04d0a9e83620 |
Proposed branch: | ~cjwatson/lazr.restful:fix-flake8 |
Merge into: | lazr.restful:main |
Diff against target: |
28 lines (+11/-6) 1 file modified
src/lazr/restful/_resource.py (+11/-6) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+412030@code.launchpad.net |
Commit message
Fix flake8 line length error
Description of the change
This is easier to do by conditionally raising `AssertionError` (which is less vulnerable to being optimized out anyway) rather than using `assert`.
To post a comment you must log in.
LGTM