Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Small fixes following pep8 changes | Pierre Sassoulas | 2021-06-21 | 1 | -2/+2 | |
| | | | | | Re-add 'ex' in good name Fix a typo rrue = true | |||||
* | Fix pep8 in unittest test function's names | Pierre Sassoulas | 2021-06-20 | 1 | -1/+1 | |
| | ||||||
* | Use the Context enum directly and not a constant based on it | Pierre Sassoulas | 2021-06-19 | 1 | -9/+9 | |
| | | | | See https://github.com/PyCQA/astroid/pull/1045\#discussion_r654575507 | |||||
* | Rename astroid.constants to astroid.const | Pierre Sassoulas | 2021-06-19 | 1 | -1/+1 | |
| | | | | See https://github.com/PyCQA/astroid/pull/1045\#discussion_r654572722 | |||||
* | Create a permanent enum for Context instead of deleting the class | Pierre Sassoulas | 2021-06-19 | 1 | -9/+9 | |
| | ||||||
* | Create a astroid.constants.py to avoid circular imports | Pierre Sassoulas | 2021-06-17 | 1 | -9/+4 | |
| | | | | And add PY3X type constants in it. | |||||
* | Bump astroid to 2.6.0-dev0, update changelog | Pierre Sassoulas | 2021-06-16 | 1 | -1/+1 | |
| | ||||||
* | Import exceptions from astroid.exceptions to avoid circular imports | Pierre Sassoulas | 2021-06-15 | 1 | -8/+13 | |
| | ||||||
* | Remove reference to travis or appveyor in the codebase | Pierre Sassoulas | 2021-06-15 | 1 | -2/+2 | |
| | ||||||
* | Small fix + improvements to Match nodes (#1032) | Marc Mueller | 2021-06-15 | 1 | -15/+43 | |
| | | | | | | | * Fix MatchClass fields * Add types to Match fields * Remove unnecessary Match get_children methods * Fix test variable name * Add tests for Match get_children | |||||
* | Deprecate Ellipsis node (#1025) | Marc Mueller | 2021-06-13 | 1 | -10/+4 | |
| | ||||||
* | Prepare for 2.5.8 release (#1013)v2.5.8 | Pierre Sassoulas | 2021-06-07 | 1 | -1/+1 | |
| | ||||||
* | Improve support for Pattern Matching (#1010) | Marc Mueller | 2021-06-07 | 1 | -25/+61 | |
| | | | | | | | * Improve support for Pattern Matching * Fix lineno and col_offset * Add string representation for match nodes * Add NoChildrenMixin * Add example nodes in docstrings | |||||
* | Update copyright notice for 2.5.7v2.5.7 | Pierre Sassoulas | 2021-05-29 | 1 | -1/+2 | |
| | ||||||
* | Add initial support for pattern matching py310 (#986) | Marc Mueller | 2021-05-29 | 1 | -0/+176 | |
| | | | | * Add initial support for pattern matching py310 * Add typing_extensions | |||||
* | Add kind field to Const (#943) | Federico Bond | 2021-05-15 | 1 | -0/+13 | |
| | ||||||
* | Fix line too long in unittest_nodes | Pierre Sassoulas | 2021-04-19 | 1 | -2/+7 | |
| | ||||||
* | Add an isort configuration in setup.cfg and apply it | Pierre Sassoulas | 2021-04-19 | 1 | -12/+5 | |
| | | | | Except on astroid/__init__.py because of circular imports | |||||
* | Fix redefining name 'astroid' from outer scope | Pierre Sassoulas | 2021-04-19 | 1 | -2/+2 | |
| | ||||||
* | Fix issue #891 | Pierre Sassoulas | 2021-04-10 | 1 | -1/+1 | |
| | | | | Remove outdated COPYING and rename COPYING.LESSER | |||||
* | Upgrade copyrite notice | Pierre Sassoulas | 2021-02-28 | 1 | -0/+3 | |
| | ||||||
* | Fix black issues | Marc Mueller | 2021-02-27 | 1 | -4/+2 | |
| | ||||||
* | Use new style super when applicable | Pierre Sassoulas | 2021-02-21 | 1 | -1/+1 | |
| | ||||||
* | Remove redundant open mode 'r' in opens | Pierre Sassoulas | 2021-02-21 | 1 | -2/+2 | |
| | ||||||
* | Update copyright notice | hippo91 | 2021-02-15 | 1 | -2/+3 | |
| | ||||||
* | Merge branch 'master' into master | hippo91 | 2021-02-07 | 1 | -0/+24 | |
|\ | ||||||
| * | Corrected the parent of function type comment nodes | Ashley Whetter | 2021-02-07 | 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 | |||||
* | | Remove required_version for 3.6 and below | David Gilman | 2020-12-31 | 1 | -12/+0 | |
| | | | | | | | | We are now guaranteed to be running on 3.6+ | |||||
* | | Remove six from astroid | David Gilman | 2020-12-30 | 1 | -16/+2 | |
|/ | ||||||
* | `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 | |