-
Notifications
You must be signed in to change notification settings - Fork 285
No documentation about turning on pylint #611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@technillogue Here's my settings section from a "settings": {
"LSP": {
"pyls": {
"command": ["/Users/myuser/.virtualenvs/theenv/bin/pyls"],
"enabled": true,
"languageId": "python",
"scopes": ["source.python"],
"env": {
"PYTHONPATH": "/Users/myuser/.virtualenvs/theenv/lib/python3.7/site-packages",
"PATH": "$PATH:/Users/myuser/.virtualenvs/theenv/bin"
},
"settings": {
"pyls": {
"configurationSources": ["flake8"],
"plugins": {
"yapf": {
"enabled": true
},
"pyflakes": {
"enabled": false
},
"mccabe": {
"enabled": false
},
"flake8": {
"enabled": true
}
}
}
},
"syntaxes": ["Packages/Python/Python.sublime-syntax"]
}
},
"python_interpreter": "/Users/myuser/.virtualenvs/theenv/bin/python",
"python_package_paths": [
"$project_path/agent",
"$home/.virtualenvs/theenv/lib/python3.7"
],
...snip
} You can add a "pylint" section in the plugins object and turn it on. Don't forget to install Note also the "env" section, adding the One more trick that helped me a lot in debugging these issues is to change the "command": ["/Users/myuser/.virtualenvs/theenv/bin/pyls", "-vv", "--log-file=/tmp/lsp.log"] Create the |
Hi, Sorry to bump this thread. What about other editors? Are there any configuration files specific to I am trying to get |
I find the documentation also rather lacking. Pylint isn't even mentioned in the README. |
It's highly unclear how to enable pylint (and disable pyflakes, flake8, etc).
The text was updated successfully, but these errors were encountered: