Skip to content

test: ignore flake8 E402 errors in cmd/main.py#402

Merged
OddBloke merged 3 commits into
canonical:masterfrom
powersj:flake8/e402
Jun 2, 2020
Merged

test: ignore flake8 E402 errors in cmd/main.py#402
OddBloke merged 3 commits into
canonical:masterfrom
powersj:flake8/e402

Conversation

@powersj
Copy link
Copy Markdown
Contributor

@powersj powersj commented May 28, 2020

This puts an ignore on the imports not at the top of the file errors
for the cmd/main.py file. The reason for the ignore instead of fix
is that the file is using imp to grab a lock and patch logging
before further imports are completed.

This puts an ignore on the imports not at the top of the file errors.
The reason for the ignore instead of fix is that the file is using imp
to grab a lock and patch logging before further imports are completed.
Copy link
Copy Markdown
Collaborator

@OddBloke OddBloke left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@OddBloke OddBloke merged commit d2b0571 into canonical:master Jun 2, 2020
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.

2 participants