Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix import order and run black for formatting #15

Merged
merged 1 commit into from Jan 7, 2021

Conversation

nicksherron
Copy link
Contributor

@nicksherron nicksherron commented Jan 7, 2021

When using this plugin it ironically causes pylint to complain because astroid is
imported before re. I constantly get the following diagnositcs message
when using with vim which is fairly annoying.

[pylint C0411] standard import "import re" should be placed before "from astroid import MANAGER" (wrong-import-order)

Screen Shot 2021-01-07 at 1 13 25 AM

Everything else besides switching the import order is just formatting from black, which I can create another pull request
without if need be.

When using this plugin it causes pylint to complain because astroid is
imported before re. I constantly get the following diagnositcs message
when using with vim

[pylint C0411] standard import "import re" should be placed before "from astroid import MANAGER" (wrong-import-order)
@jschaf jschaf merged commit eb63ca4 into jschaf:master Jan 7, 2021
@jschaf
Copy link
Owner

jschaf commented Jan 7, 2021

Thanks! Merged.

@nicksherron
Copy link
Contributor Author

No worries thanks for making this!

@kenchoong
Copy link

I am installed

  • Installing pylint-plugin-utils (0.7)
  • Installing pylint-flask (0.6)

But I still getting this error. Is it something I can do?

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.

None yet

3 participants