-
-
Save swizzlevixen/693f046b27b0980583725579d3483ce6 to your computer and use it in GitHub Desktop.
Flake8 Script for BBEdit 12 and Python 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Never mind. | |
# | |
# This functionality has been built in since BBEdit 11.6, | |
# and works way better. (See the notes below.) |
HAHAHAAA I didn’t even need to do that at all, because it’s been built in since BBEdit 11.6. All I had to do was install flake8
. Pays to read the release notes, I guess:
If
flake8
is installed (which you can do usingpip install flake8
, see the pip website for more details), "Check Syntax" for Python scripts will use it instead, since it provides better diagnostics overall.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script will almost certainly work on older versions of BBEdit, but I've just posted the versions that I had on hand to test when I wrote the script. Mainly in keeping with earlier versions of this script, but with more columnar and succinct output. Most variables renamed for clarity.