Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | merged default from logilab/pylint and resolve conflictnot-context-manager | Radu Ciorba | 2015-03-23 | 1 | -0/+37 | |
|\ | ||||||
| * | add warning for confusing usage of with statementconfusing-with-statement | Radu Ciorba | 2015-03-22 | 1 | -0/+37 | |
| | | | | | | | | | | | | Emitted when an ambiguous looking with statement is used. For example `with open() as first, second` which looks like a tuple assignment but is actually 2 context managers. | |||||
* | | add 'not-context-manager' error | Radu Ciorba | 2015-03-22 | 2 | -1/+35 | |
|/ | | | | | Checks that whatever you use in a with statement implements __enter__ and __exit__ or is decorated with contextlib.contextmanager. | |||||
* | Promote a couple of warnings to errors. | Claudiu Popa | 2015-03-20 | 3 | -11/+14 | |
| | | | | | | | | These warnings were promoted since they could uncover potential bugs in the code and since most people are using `pylint -E` anyway, it's good to have them as errors. These warnings are: assignment-from-none, unbalanced-tuple-unpacking, unpacking-non-sequence, non-iterator-returned. Closes issue #388. | |||||
* | Merged in myint/pylint (pull request #237) | Claudiu Popa | 2015-03-18 | 1 | -5/+15 | |
|\ | | | | | | | Add "duplicate-except" checker. Patch by Steven Myint. | |||||
| * | Add an extra hint (ex: "add 3 spaces") to bad-continuation message. | Daniel Balparda | 2015-03-17 | 1 | -5/+15 | |
| | | ||||||
* | | Remove unnecessary change | Steven Myint | 2015-03-15 | 1 | -1/+1 | |
| | | ||||||
* | | Remove unnecessary loop | Steven Myint | 2015-03-13 | 1 | -2/+1 | |
| | | ||||||
* | | Remove unused import | Steven Myint | 2015-03-13 | 1 | -1/+0 | |
| | | ||||||
* | | Add "duplicate-except" checker | Steven Myint | 2015-03-13 | 1 | -1/+11 | |
|/ | | | | | It checks if an exception type was already caught previously in the same try/except. This fixes #485. | |||||
* | Remove abstract-class-not-used, for the same reasons as star-args and ↵ | Claudiu Popa | 2015-03-11 | 1 | -35/+4 | |
| | | | | abstract-class-little-referenced. | |||||
* | Remove abstract-class-little-used warning, since it doesn't add any real value. | Claudiu Popa | 2015-03-11 | 1 | -9/+1 | |
| | ||||||
* | Remove the star-args error. | Claudiu Popa | 2015-03-11 | 1 | -18/+1 | |
| | | | | | This warning is removed because it doesn't add any real value and it's not a problem if someone uses unpacking in their code. | |||||
* | Merged in mibalint/pylint (pull request #234) | Claudiu Popa | 2015-03-06 | 2 | -46/+85 | |
|\ | | | | | | | #422 [pylint sprint] Create pylintrc and disable checking for all issues | |||||
| * | Fix a couple of doc warnings, use string continuation. | Claudiu Popa | 2015-03-02 | 2 | -46/+46 | |
| | | ||||||
| * | Add a new warning for the Python 3 porting checker, 'using-cmp-argument'. | Claudiu Popa | 2015-02-28 | 1 | -0/+39 | |
| | | | | | | | | | | This warning is emitted when the `cmp` argument for the `list.sort` or `sorted builtin` is encountered, since it was removed in Python 3. This is part of the issue #376. | |||||
* | | start removing checks from disabled list, fix code to make sure these pass: ↵ | Mihai Balint | 2015-02-28 | 1 | -9/+13 | |
|/ | | | | C0102,C0112,C0121,C0202,C0203,C0204,C0301 | |||||
* | Backed out changeset c1f2f0c187b0 | Claudiu Popa | 2015-02-27 | 1 | -0/+5 | |
| | | | | This is actually used by the test, which aren't calling visit_module. | |||||
* | Remove Python3Checker constructor, visit_module() does all its job | Pavel Roskin | 2015-02-26 | 1 | -5/+0 | |
| | ||||||
* | Remove excessive quotes in docstrings | Pavel Roskin | 2015-02-26 | 1 | -1/+1 | |
| | ||||||
* | Clear Python3Checker state on every new module | Pavel Roskin | 2015-02-25 | 1 | -0/+5 | |
| | | | | | This fixes detection of missing __future__ imports when processing multiple files. | |||||
* | Refactoring. | Claudiu Popa | 2015-02-22 | 1 | -16/+16 | |
| | ||||||
* | Fix #299: Warn about `type(x) is/== Y`impl-299 | Chris Rebert | 2015-02-21 | 1 | -1/+44 | |
| | ||||||
* | Don't emit not-iterating warnings when the builtin is used in an unpacking. | Claudiu Popa | 2015-02-21 | 1 | -0/+6 | |
| | ||||||
* | Fix a false positive with dict and not-iterating warnings. | Claudiu Popa | 2015-02-21 | 1 | -1/+1 | |
| | | | | | | dict accepts iterators, as much as set and list does. This patch fixes this and adds tests for the other callables for which we shouldn't emit. | |||||
* | Remove visit_discard for map-builtin-not-iterating, since it is already ↵ | Claudiu Popa | 2015-02-21 | 1 | -9/+0 | |
| | | | | caught by visit_callfunc. | |||||
* | Merged in brettcannon/pylint (pull request #216) | Claudiu Popa | 2015-02-21 | 1 | -3/+3 | |
|\ | | | | | | | Warn when filter, map, range, and filter are not used in iterating contexts | |||||
| * | Merged in cvrebert/pylint/missing-spaces (pull request #225) | Claudiu Popa | 2015-02-21 | 1 | -2/+2 | |
| |\ | | | | | | | | | | add missing spaces between words in W1503's docs | |||||
| | * | add missing spaces between words in W1503's docsmissing-spaces | Chris Rebert | 2015-02-21 | 1 | -2/+2 | |
| | | | ||||||
| * | | fix "datetetime" [sic] typofix-typo | Chris Rebert | 2015-02-21 | 1 | -1/+1 | |
| |/ | ||||||
* | | Set old_names for map-builtin-not-iterating since it replaced ↵ | Brett Cannon | 2015-02-20 | 1 | -2/+3 | |
| | | | | | | | | implicit-map-evaluation | |||||
* | | merge with default | Brett Cannon | 2015-02-20 | 1 | -28/+79 | |
|/ | ||||||
* | Move all package files to a pylint package. | Ionel Cristian Maries | 2015-02-14 | 19 | -0/+9257 | |