HomePhabricator

arc lint: add support for PyLint
d762311a9de9Unpublished

Unpublished Commit · Learn More

No further details are available.

Description

arc lint: add support for PyLint

Summary:
Provides a lint class as a wrapper around the external project PyLint.
This exposes some arc config variables to control the behavior:

lint.pylint.prefix - non-standard installation location of pylint
lint.pylint.logilab_astng.prefix - non-standard installation location

of logilab-astng, a dependency of pylint

lint.pylint.logilab_common.prefix - non-standard installation location

of logilab-common, a dependency of pylint

lint.pylint.codes.{error,warning,advice} - regexes matching against

PyLint message codes which should trigger arc errors/warnings/advice

lint.pylint.options - options to pass PyLint

Test Plan:
used to lint python code

Reviewed By: epriestley
Reviewers: epriestley, jungejason
CC: aran, epriestley
Differential Revision: 343

Details

Provenance
andrewjcgAuthored on
Reviewer
epriestley
Differential Revision
Restricted Differential Revision
Parents
rARC1ef7aacff1ad: Image files should also be treated as binary files when patching.
Branches
Unknown
Tags
Unknown

Event Timeline