SublimeLinter-addon-black-for-flake
Automatically configure flake8 for black
Details
Installs
- Total 6K
- Win 3K
- Mac 1K
- Linux 972
Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 2 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 |
Mac | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 2 | 1 | 1 | 1 | 1 | 0 |
Linux | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 2 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Hi 👋!
This is an addon for SublimeLinter.
You need to install SublimeLinter-flake8!. Highly recommended is to install sublack as well.
The plugin will configure the flake8 plugin and mute all warnings black can actually fix.
It does this only if a given view is configured with "sublack.black_on_save": true
or "SublimeLinter-addon-black-for-flake.enable": true
. (Which keys it evaluates can itself be configured via the settings, but you probably don't need to.)
Usually, at least as long as black
is not the default in the python community, you set such a key in the 'settings' section of your project file. Like so:
{
"folders": [
{
"path": "."
},
],
"settings": {
"sublack.black_on_save": true
}
}
sublack
allows you to switch black on or off temporarily per view, e.g. via the context menu. These views will get selected or deselected automatically as well.
If you ever want this to be enabled by default, you could also set it up in your User Preferences.