Include Python Linter in Default Pro Virtual Environment

962
1
03-04-2020 09:15 AM
Status: Implemented
Labels (1)
JoshuaBixby
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.

1 Comment
KoryKramer
Status changed to: Implemented

Implemented in ArcGIS Pro 2.7.

See Ideas in ArcGIS Pro 2.7: Something to Celebrate 

Also check out what's new in ArcGIS Pro 2.7!