Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move files that were in the wrong directory | Claudiu Popa | 2019-09-25 | 4 | -288/+0 |
| | |||||
* | Report unnecessary else after continue and break | Robert Schweizer | 2019-09-10 | 4 | -0/+288 |
| | | | | Close #2327 | ||||
* | Stopped installing tests with package | Ashley Whetter | 2019-06-20 | 820 | -18390/+0 |
| | |||||
* | Ignore ``consider-using-dict-comprehension`` for constructions that can't be ↵ | Claudiu Popa | 2019-06-20 | 1 | -0/+3 |
| | | | | | | converted to a comprehension Close #2963 | ||||
* | Add test for regression. Close #2443 | Claudiu Popa | 2019-06-02 | 2 | -0/+30 |
| | |||||
* | Add test for fixed issue. Close #2937 | Claudiu Popa | 2019-06-01 | 1 | -0/+20 |
| | |||||
* | Add test to prove that issue is fixed. Close #2939 | Claudiu Popa | 2019-05-30 | 1 | -0/+17 |
| | |||||
* | Fixed false positives for function stubs (#2927) | Ashley Whetter | 2019-05-26 | 3 | -0/+54 |
| | | | Close #1581 | ||||
* | ``unused-import`` emitted for the right import names in function scopes. | Claudiu Popa | 2019-05-23 | 2 | -0/+6 |
| | | | | Close #2928 | ||||
* | Can choose decorators that mutate a function's signature (#2926) | Ashley Whetter | 2019-05-23 | 2 | -0/+22 |
| | | | Close #259 | ||||
* | ``assignment-from-no-return`` not triggered for async methods. | Claudiu Popa | 2019-05-23 | 1 | -2/+10 |
| | | | | Close #2902 | ||||
* | Don't emit ``attribute-defined-outside-init`` for variables defined in setters. | Claudiu Popa | 2019-05-21 | 1 | -0/+13 |
| | | | | Close #409 | ||||
* | Fixed pragmas on their own line after a backlash being ignored (#2923) | Ashley Whetter | 2019-05-21 | 1 | -0/+10 |
| | | | Closes #199 | ||||
* | Fixed false positive for `undefined-loop-variable` | Ashley Whetter | 2019-05-20 | 1 | -0/+11 |
| | | | | Closes #202 | ||||
* | Support fully qualified typing imports for type annotations. | Claudiu Popa | 2019-05-20 | 2 | -2/+18 |
| | | | | Close #2915 | ||||
* | Add test to demonstrate that a recursion error does not happen. Close #2906 | Claudiu Popa | 2019-05-19 | 1 | -0/+14 |
| | |||||
* | Exclude ``__dict__`` from ``attribute-defined-outside-init`` | Claudiu Popa | 2019-05-19 | 1 | -0/+5 |
| | | | | Close #2909 | ||||
* | Added subprocess.run explicit set `check` argument checker. Closes #2848 | fadedDexofan | 2019-04-19 | 3 | -0/+9 |
| | |||||
* | When we can't infer bare except handlers, skip ``try-except-raise`` | Claudiu Popa | 2019-04-09 | 2 | -10/+0 |
| | | | | Close #2853 | ||||
* | Handle more `unnecessary-lambda` cases when dealing with additional kwargs ↵ | Claudiu Popa | 2019-04-03 | 1 | -0/+2 |
| | | | | | | in wrapped calls Close #2845 | ||||
* | Better postponed evaluation of annotations handling | Claudiu Popa | 2019-04-03 | 1 | -0/+4 |
| | | | | Close #2847 | ||||
* | Support postponed evaluation of annotations for variable annotations. | Claudiu Popa | 2019-03-29 | 1 | -0/+9 |
| | | | | Close #2838 | ||||
* | Drop the quotes to make the test actually work | Claudiu Popa | 2019-03-27 | 1 | -1/+1 |
| | |||||
* | Add preferred-modules option and check | Paul Renvoisé | 2019-03-27 | 3 | -0/+9 |
| | | | | | This allow users to specify a set of preferred modules that should be used instead of other modules. | ||||
* | Feat - Makes C0412 (ungrouped-imports) compatible with isort (#2824) | Pierre Sassoulas | 2019-03-22 | 5 | -3/+15 |
| | | | Closes #2806. | ||||
* | Add new linter: dict-iter-missing-items | yory8 | 2019-03-20 | 2 | -0/+24 |
| | | | | | | | Add a new linter to check against forgotten calls to `.items()` when iterating through a dictionary in a `for` loop. Close #2761 | ||||
* | Add a new ``missing-parentheses-for-call-in-test`` check | hippo91 | 2019-03-19 | 4 | -25/+138 |
| | | | | | | This is emitted in case a call to a function is made inside a test but it misses parentheses. It is a more specialised form of `using-constant-test`, but tailored specifically to callables. Close #2658 | ||||
* | Make ``len-as-condition`` only fire when a ``len(x)`` call is made without ↵ | Paul Renvoise | 2019-03-19 | 2 | -48/+69 |
| | | | | | | | an explicit comparison This commit reduce the scope of `len-as-condition` to only care when a `len(SEQUENCE)` call is made without an explicit comparison, as stated in PEP8. | ||||
* | Fix misattribution of `unused import` (#2672) | Jim Robertson | 2019-03-19 | 2 | -2/+7 |
| | | | | Fixed issue where import statements with multiple import arguments wouldn't flag the correct missing package. | ||||
* | ``assigning-non-slot`` not emitted for classes with unknown base classes. | Claudiu Popa | 2019-03-11 | 1 | -0/+8 |
| | | | | | | | | | It's possible to lint classes that don't have known bases (e.g. one of them might come from a C extension), in which case we cannot make a lot of assumptions about the class layout with respect to `__slots__`. As such, it's best to ignore these classes from this check. Close #2807 | ||||
* | Also adjust the line numbers | Claudiu Popa | 2019-03-05 | 1 | -13/+13 |
| | |||||
* | Remove another method that's removed in 3.8 | Claudiu Popa | 2019-03-05 | 2 | -2/+0 |
| | |||||
* | Split deprecated_methods for Python 3.8 to account for removed methods | Claudiu Popa | 2019-03-05 | 4 | -0/+63 |
| | |||||
* | Added a new check `class-variable-slots-conflict` | Claudiu Popa | 2019-03-03 | 2 | -1/+24 |
| | | | | | This check is emitted when ``pylint`` finds a class variable that conflicts with a slot name, which would raise a ``ValueError`` at runtime. | ||||
* | CRF: added a separate test for the bugfix | Fantix King | 2019-02-22 | 2 | -3/+16 |
| | |||||
* | Fix bug of W0120 | Fantix King | 2019-02-22 | 2 | -2/+3 |
| | | | | When break is deep in the else of an inner loop, W0120 was raised. | ||||
* | Protect against `NonDeducibleTypeHierarchy` when calling semi-private ↵ | Claudiu Popa | 2019-02-19 | 2 | -0/+26 |
| | | | | | | | | | | | | `is_subtype` `astroid.helpers.is_subtype` raises `NonDeducibleTypeHierarchy` when it cannot infer the base classes of the given types, but that makes sense in its context given that the method is mostly used to inform the inference process about the hierarchy of classes. Doesn't make that much sense for ``pylint`` itself, which is why we're handling the exception here, rather than in ``astroid`` Close PyCQA/astroid#644 | ||||
* | Add test case for #2553 | Claudiu Popa | 2019-02-13 | 1 | -0/+11 |
| | |||||
* | Allow ``BaseException`` for emitting ``broad-except``, just like ``Exception``. | Claudiu Popa | 2019-02-13 | 2 | -1/+8 |
| | | | | Close #2741 | ||||
* | Fixed a crash that occurred for ``bad-str-strip-call`` when ``strip()`` ↵ | Claudiu Popa | 2019-02-13 | 1 | -0/+1 |
| | | | | | | received ``None`` Close #2743 | ||||
* | Split the test in two files for separate Python versions | Claudiu Popa | 2019-02-13 | 3 | -2/+8 |
| | |||||
* | Fix a crash caused by iterating over ``Uninferable`` in a string formatting ↵ | Claudiu Popa | 2019-02-11 | 1 | -1/+3 |
| | | | | | | check. Close #2727 | ||||
* | Take into account `__class_getitem__` | Pascal Corpet | 2019-02-04 | 6 | -0/+40 |
| | | | | | | | | Take into account `__class_getitem__` from PEP 560 and fixes some false positives for `no-self-argument` and `unsubscriptable-object` PEP: https://www.python.org/dev/peps/pep-0560/ Close #2416 | ||||
* | Support ``Ellipsis`` as a synonym for ``pass`` statements. | Claudiu Popa | 2019-02-04 | 1 | -0/+10 |
| | | | | Close #2718 | ||||
* | Add a new option 'check-str-concat-over-line-jumps' to check ↵ | Lucas Cimon | 2019-01-31 | 3 | -0/+7 |
| | | | | 'implicit-str-concat-in-sequence' | ||||
* | Move the unused variable regression test to a Python 3.6 specific file | Claudiu Popa | 2019-01-30 | 4 | -13/+15 |
| | |||||
* | Disable test temporarily until we fix the context problem in astroid | Claudiu Popa | 2019-01-23 | 2 | -4/+3 |
| | |||||
* | Add test case for #2588 | Claudiu Popa | 2019-01-23 | 1 | -1/+16 |
| | |||||
* | Add test case for #2667 | Claudiu Popa | 2019-01-21 | 2 | -0/+9 |
| | |||||
* | Add test that a recursion error does not happen any longer. Close #2683 | Claudiu Popa | 2019-01-20 | 2 | -0/+13 |
| |