So I been using the Anaconda Package in Sublime via Sublime REPL. If you are trying to do this too, I have a few posts on it that you should refer to.
Now if you are already doing this, you might see something like this when you load a file from someone else.
If you these error alerts drive you crazy and you want to turn some of them off, this is the post for you. At first, I use to go back and fix these errors but most of them deal with spacing around certain things like comments, equal signs, ( ) etc.
While it might be good practice to code in accordance to these conventions, going back to fix some one else’s code or even when you are writing some yourself, these errors can be extremely distracting. If you hover over the line, at the bottom of the Sublime window, it will tell you what the error is.
For example, the first error in this picture is “[W] PEP 8 (E501): line too long (89 > 79 characters), Line 2, Column 78” So what if you didn’t care that the line is “too long”. Lets change it so it stops showing us this error.
Step 1
Go to Sublime Text > Preferences > Package Settings > Anaconda and Open: Setting – Defaults and Setting -User.
Step 2
Copy all of settings JSON in the Defaults and paste it into the User Settings Window.
Step 3
Find the “pep8_ignore”: in the JSON (Mine was around line: 338)
Step 4
Type "E501"
so the JSON files looks like this:
Step 5
Save the JSON file and you should see the error disappear!
Bonus!
If you want to remove multiple error checking codes, connect new error codes with a , and make sure you put them in a ” ” like this: