summaryrefslogtreecommitdiff
path: root/pylintrc
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bunch of linting errors from the codebaseClaudiu Popa2019-05-221-2/+1
|
* Reformat the code with blackClaudiu Popa2018-09-171-0/+2
|
* Grammar fixes to docs (#2492)Drew2018-09-151-1/+1
| | | Fix grammar error in pylintrc files and CONTRIBUTORS.txt.
* Remove the maximum length from the style regular expressions (#2290)SergeyKosarchuk2018-07-171-4/+4
| | | Close #2047
* We don't need any reportsClaudiu Popa2018-05-171-1/+1
|
* Enable no-memberNick Drozd2018-01-041-1/+0
|
* Set max-statements to 100Nick Drozd2018-01-041-2/+1
| | | | | Currently the greatest number of statements is 83 (checkers.typecheck). 100 seems like a reasonable cap.
* Set max-args to 10Nick Drozd2018-01-041-2/+1
| | | | | | | Although as Alan Perlis said, "if you have a procedure with ten parameters, you probably missed some." http://cpsc.yale.edu/epigrams-programming
* Enable redefined-builtinNick Drozd2018-01-041-1/+0
|
* Enable import-errorNick Drozd2018-01-041-1/+0
|
* Set max-attributes to 11Nick Drozd2018-01-041-2/+1
| | | | | The greatest number of instance attributes is 21. The next greatest is 11, which is more reasonable.
* Set max-locals to 25Nick Drozd2018-01-041-2/+1
|
* Set max-branches to 26Nick Drozd2018-01-041-2/+1
| | | | | | checkers.typecheck has a function with 43 branches, which is comically many. The next-branchiest has 26 (with no obvious way to reduce that number), so that's the max.
* Enable broad-except checkNick Drozd2018-01-041-1/+0
| | | | | | This was globally disabled, which is not a great idea, and also locally disabled in a few places. I enabled it globally and consolidated the local disables.
* Set max-module-lines to 2000Nick Drozd2018-01-041-2/+1
| | | | | The greatest number of lines in a module at present is 1829 (checkers.base). 2000 seems like a reasonable cap.
* Set max-public-methods to 25Nick Drozd2018-01-041-2/+1
| | | | | The greatest number of public methods at present is 24 (checkers.variables). 25 seems likes a reasonable cap.
* Set max-returns to 11Nick Drozd2018-01-041-2/+1
| | | | | | Previously, the greatest number of return statements in a function was 15 (checkers.typecheck). 11 is the lowest I could get it without aggressive rewriting.
* Organize disabled pylint messagesNick Drozd2018-01-041-7/+20
| | | | Design messages are organized by length, others alphabetically
* Get rid of old pylintrc disable redefined-variable-typeNick Drozd2018-01-041-2/+0
|
* Remove anomalous-backslash-in-string from pylintrc ignore list (#1404)Łukasz Rogalski2017-04-021-2/+1
|
* Added threading.local to ignored classes default list (#946)Jürgen Hermann2016-06-241-1/+1
| | | | | | | 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.
* Made list of property-like decorators configurable. (#942)Yannack2016-06-201-0/+3
| | | | | 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
* Removed the bad-builtin checkClaudiu Popa2016-05-101-1/+1
| | | | | | | | 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.
* Make list of contextmanager decorators configurable.Filipe Brandenburger2016-02-021-0/+4
| | | | | | | | | 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.
* Basic travis support.Claudiu Popa2015-12-161-1/+3
| | | | Some of the pylint errors were also removed.
* error E0201 is obsolete - now E1101Anentropic2015-11-181-1/+1
| | | | | --HG-- branch : remove-E0201-references
* Remove deprecated option.Claudiu Popa2015-10-091-3/+0
|
* --comment flag was obsoleted and it will be removed in Pylint 1.6.Claudiu Popa2015-08-201-4/+0
|
* Remove deprecated options from the configuration file.Claudiu Popa2015-08-201-17/+0
|
* ignored-classes option can work with qualified names, as well as with Unix ↵Claudiu Popa2015-07-071-1/+1
| | | | | | patterns. Closes issues #244 and #297.
* Ignore bad-builtin.Claudiu Popa2015-05-171-1/+1
|
* Fix some pylint warnings over pylint's codebase.Claudiu Popa2015-05-161-2/+2
|
* Get rid of abstract-method warnings emitted over pylint's codebase.Claudiu Popa2015-05-071-1/+1
|
* Disable in pylintrc only the actual problems from the codebase.Claudiu Popa2015-05-071-1/+10
|
* Fix unidiomatic-typecheck.Claudiu Popa2015-05-071-1/+1
|
* Remove unused variables.Claudiu Popa2015-05-071-1/+1
|
* Remove unused imports.Claudiu Popa2015-05-071-1/+1
|
* issue-422 solved some pylint warnings when running pylint on pylint code baseSimu Toni2015-03-281-1/+1
|
* Use only one job for linting pylint.Claudiu Popa2015-03-141-1/+1
|
* Remove abstract-class-not-used, for the same reasons as star-args and ↵Claudiu Popa2015-03-111-1/+1
| | | | abstract-class-little-referenced.
* Remove abstract-class-little-used warning, since it doesn't add any real value.Claudiu Popa2015-03-111-1/+1
|
* remove more checks from disabled list, fix code to pass these: ↵Mihai Balint2015-02-281-1/+1
| | | | C0303,C0304,C0321,C0325,C0326,C0327,C0328
* start removing checks from disabled list, fix code to make sure these pass: ↵Mihai Balint2015-02-281-2/+2
| | | | C0102,C0112,C0121,C0202,C0203,C0204,C0301
* add all pylint codes to the disable list, runnint pylint pylint will now ↵Mihai Balint2015-02-281-2/+1
| | | | rate the pylint code at 10.0
* add pylintrc generated by with pylintMihai Balint2015-02-281-0/+380