Last active
October 29, 2024 22:08
-
-
Save purarue/2928d972efae972571f1aa4f30aeeb5d to your computer and use it in GitHub Desktop.
Hides E501 ('line too long') errors on pep8online.
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
// ==UserScript== | |
// @name Hide E501 Warnings | |
// @namespace github.com/purarue | |
// @version 0.1 | |
// @description Hides E501 ('line too long') errors on pep8online. | |
// @author purarue | |
// @match http://pep8online.com/checkresult | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js | |
// ==/UserScript== | |
(function() { | |
"use strict"; | |
$("tr.tr-result").each(function() { | |
if ($(this).find("td").first().text().trim() == "E501") { | |
$(this).hide(); | |
} | |
}); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment