I posted VS Code pylint needs pylintrc on Thursday, 19 March, 2020

Note python vscode editors

VS Code pylint needs pylintrc

Visual Studio Code doesn’t seem to pick up my environment’s PYTHONPATH when running pylint. Makes project-local modules a headache. The solution: put it in your pylint config.

${workspaceFolder}/.pylintrc

[MASTER]
init-hook='import sys; sys.path.append("pylib")'

Okay, I got more planned for today than messing with code. Back to that other stuff.

Social

Got a comment? A question? More of a comment than a question? Talk to me about this note!

Indieweb Social

Did you mention this somewhere? I'd love it if you sent me the link!

disclaimer about timing

Mentions are sent to webmention.io. I fetch the latest mentions when building the site, so I may not see your feedback right away. Especially if my site's broken, which is often the case.

Public replies and mentions might be shared on the site, but I try to do a little quality check first.

Site Links