Skip to content

Conversation

JordiSubira
Copy link
Contributor

@JordiSubira JordiSubira commented Dec 27, 2019

Updates flake8 to 3.7.9 to have type annotation support.
Install flake8 via pip instead of debian, remove from debian deps.
Also fix issues flagged by the new version.


This change is Reviewable

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 6 of 6 files at r1, 1 of 1 files at r2.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @JordiSubira, @scrye, @sgmonroy, and @worxli)


python/lib/packet/host_addr.py, line 200 at r1 (raw file):

def haddr_get_type(type_):  # pragma: no cover
    r"""

why this change?


python/lib/packet/host_addr.py, line 214 at r1 (raw file):

def haddr_parse(type_, *args, **kwargs):  # pragma: no cover
    r"""

ditto

@oncilla oncilla changed the title proposal to update flake8 version Lint: Update flake8 Feb 12, 2020
@oncilla oncilla requested review from oncilla and removed request for worxli, scrye and sgmonroy February 12, 2020 16:57
Copy link
Contributor Author

@JordiSubira JordiSubira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @oncilla)


python/lib/packet/host_addr.py, line 200 at r1 (raw file):

Previously, Oncilla wrote…

why this change?

I used raw string to make the W605 of pylint disappear with the backslash char.


python/lib/packet/host_addr.py, line 214 at r1 (raw file):

Previously, Oncilla wrote…

ditto

Idem

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

solving out conflicts new version flake8, removing flake8 entries  env/debian/pkgs.txt
Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 2 files at r3.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker merged commit 0dc7803 into scionproto:master Feb 13, 2020
stygerma pushed a commit to stygerma/scion that referenced this pull request Mar 26, 2020
Updates flake8 to 3.7.9 to have type annotation support.
Install flake8 via pip instead of debian, remove from debian deps.
Also fix issues flagged by the new version.
@JordiSubira JordiSubira deleted the update-flake8 branch December 23, 2020 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants