Channels
welcome
github-notifications
development
announce
random
plugins
general
pex
Powered by
#general
Title
c
curved-electrician-64177
05/28/2021, 11:34 PM
Is there a plan to add backend to support import linter?
https://import-linter.readthedocs.io/en/stable/readme.html#
e
enough-analyst-54434
05/29/2021, 12:40 AM
Nope, none yet. We're always happy to help shepherd if you want to add the support. There are several linter examples so this is probably one of the better documented plugin types to have a crack at.
Maybe start here if you like docs:
https://www.pantsbuild.org/docs/plugins-overview
Or start here if you like code:
https://github.com/pantsbuild/pants/blob/f537b7cc668f0d862cfc3ee71117ff3c36043b56/src/python/pants/backend/python/lint/bandit/rules.py
Several other examples under
https://github.com/pantsbuild/pants/tree/f537b7cc668f0d862cfc3ee71117ff3c36043b56/src/python/pants/backend/python/lint
if bandit isn't helpful or familiar.
c
curved-electrician-64177
05/29/2021, 11:08 PM
Thank you!
Post