-
Notifications
You must be signed in to change notification settings - Fork 2
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
Appears to not be doing anything #7
Comments
I am seeing this in the console
|
I think I fixed that by adding a python setting to the flake8 linter section, addon still seems to not work |
As just installing is not enough, did you enable this plugin as described in the README? Which method did you use? |
Sorry, I was unclear maybe, or I'm confused, black on save is working fine |
Iirc there are tons of methods to configure sublack but here I - out of the box - only read one setting namely 'sublack.black_on_save'. Often set in the project file. There are workarounds iirc but that's why I'm asking. |
sublack package settings
sublime linter package settings
SublimeLinter-addon-black-for-flake settings
There is nothing about sublack or sublime linter in the project settings or the main user settings I tried adding it to the project settings but that didn't change anything. Is there some way maybe on the console that I can test what the plugin will be seeing? |
With these settings alone, this plugin will not "kick-in". If you set
( |
Generally, you could debug by installing it manually. Just SublimeLinter-addon-black-for-flake/plugin.py Lines 81 to 89 in 80c0047
Here you can test if |
I have Sublime 4113 on Ubuntu Xenial, with Package Control 3.4.1.
I have sublack installed and working correctly (black 21.5b0).
I have SublimeLinter-flake8 installed and working correctly (flake8 3.9.2 with a bunch of plugins, SublimeLinter 4.17.0, SublimeLlinter-flake8 4.2.4).
These are both using the same 3.8.10 venv.
Predictably at this point I'm a bit irritated by flake8 complaining about the stuff black will fix on save.
So I installed this addon (0.2.4) which looks perfect, but it didn't do anything.
I'm not that familiar with Sublime internals so I've no idea where to start on debugging.
Do you have any suggestions or pointers?
The text was updated successfully, but these errors were encountered: