coala: Investigate piton support
coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use. https://coala.io/ It wraps external linters that are written in Python, Node.js, Haskell, Julia, R and other languages.
For Python linters, coala uses pip to install those dependencies. https://github.com/coala/coala-bears/issues/1000 will make those dependencies optional, and other related tasks are ensuring the linter requirement metadata is fixed.
piton works like npm. It doesnt install the requirements globally, or create a venv, but has a local .python_modules
which needs to be added to the PYTHONPATH
. This would mostly be useful for developer environments.
The piton package.json can be generated by .ci/generate_bear_requirements.py
, and coala should be able to find the .python_modules
, and add it to the module loader path at runtime.
Initially this issue is primarily to describe how piton could work in practise for coala, noting any blockers.