Add support for linter on Mac and Pylint with Conda environments on Mac
Closed this issue · 1 comments
mvonpohle commented
The current linter pre-commit uses "xargs --null --no-run-if-empty ./scripts/linter/lint;" but Mac doesn't support -- options in the system default xarg
mvonpohle commented
For the second part, as far as I can tell it's a problem with pylint in virtualenvs on Mac. See here:
- leinardi/pylint-pycharm#43
- https://stackoverflow.com/questions/1899436/pylint-unable-to-import-error-how-to-set-pythonpath
I think I've figured out a workaround that should remain compatible with existing working installs and those not using virtualenvs.