This PR expands the base64-encoded pylint init hook into its full script (because INI files can do that; idk what this guy was smoking), and converts its usage of execfile(path) to exec(open(path).read()) to support execution under Python 3.
NOTE: backslashes / continuation operators were used for indented blocks, 'cause though INI files can support multiple lines (though blank lines are removed by default), I had no idea how to also have it respect leading whitespace.
Checklist
[X] Your branch is up-to-date with the base branch
[X] ~You've included at least one test if this is a new feature~
Description of new feature, or changes
This PR expands the base64-encoded pylint init hook into its full script (because INI files can do that; idk what this guy was smoking), and converts its usage of
execfile(path)
toexec(open(path).read())
to support execution under Python 3.NOTE: backslashes / continuation operators were used for indented blocks, 'cause though INI files can support multiple lines (though blank lines are removed by default), I had no idea how to also have it respect leading whitespace.
Checklist
Related Issues and Discussions
Mentioned here: https://github.com/manrajgrover/halo/issues/102#issuecomment-431643972