Merge ~chad.smith/cloud-init:cleanup/sync-pycodestyle into cloud-init:master
Proposed by
Chad Smith
Status: | Merged |
---|---|
Approved by: | Chad Smith |
Approved revision: | 315f0c6ed189e9c704bad25a61fdd9d4f03a86a2 |
Merge reported by: | Chad Smith |
Merged at revision: | 80dfb3b023a268d6d6204220665c2cf43eac66df |
Proposed branch: | ~chad.smith/cloud-init:cleanup/sync-pycodestyle |
Merge into: | cloud-init:master |
Diff against target: |
67 lines (+11/-9) 3 files modified
cloudinit/netinfo.py (+1/-1) tests/unittests/test_handler/test_handler_ntp.py (+1/-1) tox.ini (+9/-7) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Smith | Abstain | ||
Scott Moser | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Joshua Powers (community) | Approve | ||
Review via email: mp+344976@code.launchpad.net |
Commit message
pycodestyle: Fix deprecated string literals, move away from flake8.
Fix remaining pycodesytle warnings related to invalid string literals
introduced in more recent pycodeflakes versions
https:/
Also stop using flake8 in tox as it is incompatible with newer versions of
pyflakes. Instead we now add tox environments for pycodestyle and pyflakes
individually.
Set the versions in both pycodestyle and pyflakes to the currently
available versions.
Description of the change
See commit message
to test:
tox -r -e tip-pycodestyle
tox -r -e flake8
To post a comment you must log in.
should fix jenkins per https:/ /jenkins. ubuntu. com/server/ view/cloud- init/job/ cloud-init- ci-nightly/ 317/consoleFull