I have a python2.7 project, and when I run PyLint 1.5.2, astroid 1.3.3
on files, I get a Catch-22 situation.

When I have:
    import logging
    import pexpct
    import re
    import time

I get messages about wrong import order, specifically that re and time
comes after pexpect.

OK, apply the obvious fix:
    import logging
    import re
    import time

    import pexect

and now the diagnostics I get are "standard import "re" comes before
"pexpect". ditto "time".

Can't win for losing.

So how do I fix this, other than abandoning programming and take up
advanced backet-weaving as a profession?  :)

(Yes, I did check back six months in the mailing list archives, and
didn't see any discussion.)
_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to