Include Python Linter in Default Pro Virtual Environment

226
0
03-04-2020 09:15 AM
Status: In Product Plan
Labels (1)
MVP Esteemed Contributor

It would be great to have a linter, preferably Pylint - code analysis for Python | www.pylint.org, included in the default ArcGIS Pro Python virtual environment (arcgispro-py3).  When trying to use the default ArcGIS Pro virtual environment as the default Python interpreter in IDEs, e.g., Visual Studio Code - Code Editing. Redefined, the lack of a Python linter means the user needs to create a new, custom virtual environment just to add a Python linter.  Although adding a new, custom virtual environment is supported in Pro, going down that path simply for a linter seems overkill.  Additionally, Pro does not play well with custom virtual environments when upgrading between versions, so commonly people have to either recreate their virtual environments after upgrades or monkey around a bunch.

The default ArcGIS Pro Python environment should "just work" with IDEs, and the lack of a linter means it currently doesn't.