rimvaliulin / isorted

isort integration for Sublime Text
GNU General Public License v3.0
11 stars 2 forks source link

Not working since version 1.0.5 with .isort.cfg inside project directory #6

Closed inmate37 closed 1 year ago

inmate37 commented 1 year ago

Expected behaviour: Auto sort imports on save based on rules in ProjectDir > .isort.cfg

Actual behaviour: Not working

Traceback:

File "/home/username/.config/sublime-text/Installed Packages/isorted.sublime-package/isorted.py", line 33, in run
File "/home/username/.config/sublime-text/Installed Packages/isorted.sublime-package/isorted.py", line 62, in command_line
File "/home/username/.config/sublime-text/Installed Packages/isorted.sublime-package/isorted.py", line 113, in settings

KeyError: 'settings'
inmate37 commented 1 year ago

UPD | FIXED in:

1.0.6
    - Bug fixes: Handle absent project settings