PyCQA / flake8-import-order

Flake8 plugin that checks import order against various Python Style Guides
GNU Lesser General Public License v3.0
278 stars 72 forks source link

Minor cleanups #151

Closed labrys closed 6 years ago

labrys commented 6 years ago

Use set-literal instead of function Add specific code to noqa Remove redundant parentheses DRY parse options

pgjones commented 6 years ago

Thanks for the contribution :). I've looked through it and I've cherry picked 9e36170 and 1d86524 into master. I'm leaving a954e86 as I think it is a personal style change and doesn't add enough value to justify the extra commit noise. I'm also leaving 09c696a as I think it makes the code more complex to read and fixes a very minor amount of repetition.