question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pylint should be installed globally instead of installing it per interpreter

See original GitHub issue

snipaste_2018-08-06_01-00-48

currently:

After click the install button, will install pylint into pipenv use command: pipenv install pylint --dev.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
DonJayamannecommented, Aug 6, 2018

I was under the impression that tools such as pylint and other such dev dependencies we’re to be installed on each interpreter. When using pipenv, these are perfect candidates for dev dependencies.

If you do not wish to be prompted every time, then you can go into the user settings.json file and configure the path to pylint in python.linting.pylintPath setting. However this will have a number of problems. E.g. if you do not have requests module installed in your global interpreters but you are using requests in your local pipenv environment, then pylint will throw linter washings about not being able to listen the requests module. I.e. how you use pylint is up to you.

/Cc @qubitron @brettcannon

0reactions
DonJayamannecommented, Aug 7, 2018

Seems ${config:python.pythonPath} wont work in python-vscode.

Please create a separate issue for this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I make a global pylint installation use a local Python ...
In VS Code I have the Python interpreter within the virtual environment selected. I'm guessing that I need to provide some setting to...
Read more >
Command line installation - Pylint 2.16.0-dev documentation
Command line installation#. Pylint is installable using a package manager. Your package manager will find a version that works with your interpreter.
Read more >
Stop Installing Python Packages Globally — Use Virtual ...
Python virtual environments allow you to install Python packages in an isolated location for a particular application instead of installing them globally.
Read more >
Configure a Python interpreter | PyCharm Documentation
To work with your Python code in PyCharm, you need to configure at least one Python interpreter. You can use a system interpreter...
Read more >
Installing Packages - Python Packaging User Guide - Python.org
This section covers the basics of how to install Python packages. ... isolated location for a particular application, rather than being installed globally....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found