diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2011-10-26 09:19:05 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2011-10-26 09:19:05 +0200 |
commit | b850e5b68c08a3c51d677acb734703a5f18d8a13 (patch) | |
tree | 42f3924c8c11b80849d3fe218e25a4708d115483 /examples/custom_raw.py | |
parent | 0f9863d3aae544f539c1c5ffb476ac298accf360 (diff) | |
download | pylint-b850e5b68c08a3c51d677acb734703a5f18d8a13.tar.gz |
This patch is an attempt to completely remove the need for all Google-internal patches
done to pylint.
Currently, we have to modify pylint in two places:
* Default plugin loading:
Due to the way Python applications are deployed, the import magic in
checkers.package_load does not work and needs to be replaced. Placing the
calls in an overridable methods allows us to modify the behavior in our own
linter class
* Special reporter:
We use a custom reporter. It can be passed to Run using the reporter argument,
but creating in the initializer allows for other reporters to be added to
REPORTER_OPT_MAP, which is a more general solution and might also benefit others.
These changes do not add any value to upstream pylint per se, but are not intrusive
and would help us minimize the maintenance burden when upgrading to a new pylint
upstream version, freeing up resources for more important work on pylint.
Diffstat (limited to 'examples/custom_raw.py')
0 files changed, 0 insertions, 0 deletions