dreadatour/Flake8Lint

Can't disable "import-order"

Closed this issue · 6 comments

"import-order" is supposed to be disabled by default, but not only is it enabled for me, but I also can't seem to be able to disable it.

In a simple file titled test.py:

#!/usr/bin/env python
import sys
import datetime

print(datetime.datetime.now())
sys.exit()

I get an I100 error (imports in the wrong order error) even though:

  • Preferences->Package Settings->Python Flake8 Lint->Settings - Default has "import-order": false, (which is correctly there by default)
  • Preferences->Package Settings->Python Flake8 Lint->Settings - User is empty, and I tried explicitly adding {"import-order": false,} to no avail.
  • The file is not in a project
  • No global flake8 config is present (.config/flake8 doesn't exist)
  • No tox.ini file is present (nor setup.cfg nor .pep8)

Additionally:

  • Adding "pydocstyle": false, to the user settings file works correctly (ie disables the pydocstyle linting), meaning the user settings file is being read properly
  • Toggling "import-order-style": to "google", instead of "cryptography," in the "default" settings file successfully changes the linting, meaning the "default" config file is also being read.

Any ideas? Is it just me?

I'm getting this issue too. Can't seem to disable the import-order linter through the settings.

iffy commented

I'm getting this too, and it's driving me nuts.
screen shot 2016-02-04 at 12 41 26 pm

Sorry, guys, my bad. Fixed, please, check.

Thanks!

iffy commented

Fixed, thanks
On Feb 4, 2016 2:58 PM, "Vladimir Rudnyh" notifications@github.com wrote:

Sorry, guys, my bad. Fixed, please, check.


Reply to this email directly or view it on GitHub
#82 (comment)
.

I'm still having this problem--just installed flake8lint today w/ SublimeText2 package manager. Did this get fixed for sublimetext2?