Commit Graph

25 Commits

Author SHA1 Message Date
Jürgen Hermann
1fa9a57361 Added threading.local to ignored classes default list (#946)
Added threading.local to ignored classes default list

Note that the implementation names for Python 2/3 are used (threading.local is an alias).
Also changed related places for consistency.
2016-06-24 14:11:53 +01:00
Yannack
77bec5413c Made list of property-like decorators configurable. (#942)
Made list of property-like decorators configurable.

This makes it possible to configure pylint to accept custom decorators similar to @property without the need to explicitly add a pylint directive #pylint disable=invalid-name
2016-06-20 14:21:34 +01:00
Claudiu Popa
a51597920b Removed the bad-builtin check
Using some of the builtins is just fine, we don't have to warn
about using filter or map, since it imposes a split opinion,
that can't be easily be agreed with in certain cases, leading to
the disabling of the check. As such, is far more suited to remove
the check.
2016-05-10 16:42:28 +03:00
Filipe Brandenburger
a280b7613c Make list of contextmanager decorators configurable.
This makes it possible to configure pylint to recognize backports of
contextlib or other decorators similar to @contextmanager without the
need for an explicit #pylint disable=not-context-manager

Tested with a backport of contextlib from Python 3 onto Python 2
imported under a different name.
2016-02-02 14:13:13 -08:00
Claudiu Popa
60b5ced178 Basic travis support.
Some of the pylint errors were also removed.
2015-12-16 17:25:28 +02:00
Anentropic
5b9a8c2018 error E0201 is obsolete - now E1101
--HG--
branch : remove-E0201-references
2015-11-18 12:07:22 +00:00
Claudiu Popa
d3aee0cf52 Remove deprecated option. 2015-10-09 00:40:29 +03:00
Claudiu Popa
728271b602 --comment flag was obsoleted and it will be removed in Pylint 1.6. 2015-08-20 17:22:13 +03:00
Claudiu Popa
d1398db74b Remove deprecated options from the configuration file. 2015-08-20 17:03:14 +03:00
Claudiu Popa
2ecfa1fc65 ignored-classes option can work with qualified names, as well as with Unix patterns.
Closes issues #244 and #297.
2015-07-07 15:28:59 +03:00
Claudiu Popa
8b46b80716 Ignore bad-builtin. 2015-05-17 17:36:41 +03:00
Claudiu Popa
f67d43227e Fix some pylint warnings over pylint's codebase. 2015-05-16 18:25:57 +03:00
Claudiu Popa
d957ae5764 Get rid of abstract-method warnings emitted over pylint's codebase. 2015-05-07 23:38:59 +03:00
Claudiu Popa
3bb1129f21 Disable in pylintrc only the actual problems from the codebase. 2015-05-07 23:16:06 +03:00
Claudiu Popa
6d4b900d59 Fix unidiomatic-typecheck. 2015-05-07 22:47:06 +03:00
Claudiu Popa
740643ed72 Remove unused variables. 2015-05-07 22:41:15 +03:00
Claudiu Popa
e288996ab6 Remove unused imports. 2015-05-07 22:38:57 +03:00
Simu Toni
39cd98b6b8 issue-422 solved some pylint warnings when running pylint on pylint code base 2015-03-28 18:28:08 +02:00
Claudiu Popa
a99a53b84e Use only one job for linting pylint. 2015-03-14 15:56:16 +02:00
Claudiu Popa
66cc4feff7 Remove abstract-class-not-used, for the same reasons as star-args and abstract-class-little-referenced. 2015-03-11 18:15:47 +02:00
Claudiu Popa
4fb159bc60 Remove abstract-class-little-used warning, since it doesn't add any real value. 2015-03-11 17:24:01 +02:00
Mihai Balint
5c1f0447b9 remove more checks from disabled list, fix code to pass these: C0303,C0304,C0321,C0325,C0326,C0327,C0328 2015-02-28 17:29:08 +02:00
Mihai Balint
e0f2c50566 start removing checks from disabled list, fix code to make sure these pass: C0102,C0112,C0121,C0202,C0203,C0204,C0301 2015-02-28 17:13:21 +02:00
Mihai Balint
dd8d92b072 add all pylint codes to the disable list, runnint pylint pylint will now rate the pylint code at 10.0 2015-02-28 16:27:03 +02:00
Mihai Balint
2bcd8f3294 add pylintrc generated by with pylint 2015-02-28 16:03:16 +02:00