Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Corrected the parent of function type comment nodesfix_851 | Ashley Whetter | 2021-01-31 | 1 | -0/+13 |
| | | | | | | | These nodes used to be parented to their original ast.FunctionDef parent but are now correctly parented to their astroid.FunctionDef parent. Closes #851 | ||||
* | ``is_generator`` correctly considers `Yield` nodes in `AugAssign` nodes | Claudiu Popa | 2021-01-01 | 1 | -0/+11 |
| | | | | | | This fixes a false positive with the `assignment-from-no-return` pylint check. Close PyCQA/pylint#3904 | ||||
* | `FunctionDef.is_generator` properly handles `yield` nodes in `If` tests (#799) | Claudiu Popa | 2020-06-09 | 1 | -0/+13 |
| | | | Close PyCQA/pylint#3583 | ||||
* | `FunctionDef.is_generator` properly handles `yield` nodes in `While` tests | Claudiu Popa | 2020-05-12 | 1 | -0/+12 |
| | | | | Close PyCQA/pylint#3519 | ||||
* | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -1/+5 |
| | |||||
* | Change test that expected as_string() to return a particular number of newlines | Claudiu Popa | 2020-03-10 | 1 | -7/+6 |
| | |||||
* | Disable test on PyPy since we cannot get 7.2 easily without manually ↵ | Claudiu Popa | 2020-03-03 | 1 | -1/+7 |
| | | | | installing it | ||||
* | Can access positional only and keyword only argument type comments | Ashley Whetter | 2020-01-11 | 1 | -0/+41 |
| | |||||
* | ``nodes.Const.itered`` returns a list of ``Const`` nodes, not strings | Claudiu Popa | 2019-12-15 | 1 | -0/+9 |
| | | | | | | | Because ``Const.itered`` was not returning proper nodes, pylint was failing when trying to infer objects created from those nodes. Close PyCQA/pylint#3306 | ||||
* | Fix as_string for f-strings (#709) | Alex Hall | 2019-10-19 | 1 | -1/+16 |
| | | | | | | | | as_string currently has very poor support for f-strings: Conversions (e.g. !r) and format specifiers (e.g. :.3) are left out. Quotes easily clash leading to syntax errors. Escape sequences such as \n are not handled. Literal braces are not escaped. | ||||
* | Fix as_string for attribute nodes with integer values | Alex Hall | 2019-10-18 | 1 | -0/+8 |
| | |||||
* | Fix async function definitions with decorators (#710) | Alex Hall | 2019-10-18 | 1 | -0/+11 |
| | |||||
* | Fix ClassDef.as_string() with keyword arguments, especially the metaclass (#707) | Alex Hall | 2019-10-18 | 1 | -0/+26 |
| | | | | | | * Failing test for ClassDef.as_string involving keyword arguments * Fix construction of keyword arguments in ClassDef as_string | ||||
* | Moved tests out of package directory (#704) | Ashley Whetter | 2019-10-15 | 1 | -0/+1220 |