![]() Pylint3 dispatches the correct version by sniffing the shebang. Load_entry_point('pylint', 'console_scripts', 'pylint')()Īnd then, because I like to use pylint directly from Geany's "Build Commands" menu, and I can't specify different commands for python 2 and python 3 scripts, i also have # EASY-INSTALL-ENTRY-SCRIPT: 'pylint','console_scripts','pylint'įrom pkg_resources import load_entry_point ![]() To work around this, I now have the following files: installing pylint using pip3 install pylint writes a short script to /usr/local/bin which invokes the python3 interpreter, and seems, therefore to assume all files to be checked are python 3 scripts. 's comment to the accepted answer was what drew me here - I write both python 2 and python 3 scripts, and I want to be able to check either against the correct ruleset.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |