Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move astroid.as_string to the node packages | Pierre Sassoulas | 2021-08-16 | 1 | -674/+0 |
| | | | | It's a visitor for Nodes | ||||
* | Remove use of deprecated node_classes and scoped_node API in astroid | Pierre Sassoulas | 2021-08-10 | 1 | -2/+2 |
| | |||||
* | Fix 'Consider using an in-place tuple instead of list' | Pierre Sassoulas | 2021-07-10 | 1 | -1/+1 |
| | |||||
* | Fix copyright links (#1084) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | * Fix link in license header * Fix link to cpython | ||||
* | Bump astroid to 2.6.1, update changelogv2.6.1 | Pierre Sassoulas | 2021-06-29 | 1 | -1/+1 |
| | |||||
* | Comments should start with only one '#' | Pierre Sassoulas | 2021-06-26 | 1 | -1/+1 |
| | |||||
* | Remove as_string methods for repr, print, exec (#1027) | Marc Mueller | 2021-06-13 | 1 | -27/+0 |
| | |||||
* | Deprecate Index and ExtSlice nodes (#1026) | Marc Mueller | 2021-06-13 | 1 | -8/+0 |
| | |||||
* | Deprecate Ellipsis node (#1025) | Marc Mueller | 2021-06-13 | 1 | -4/+0 |
| | |||||
* | Prepare for 2.5.8 release (#1013)v2.5.8 | Pierre Sassoulas | 2021-06-07 | 1 | -2/+2 |
| | |||||
* | Improve support for Pattern Matching (#1010) | Marc Mueller | 2021-06-07 | 1 | -0/+89 |
| | | | | | | | * 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 | -0/+1 |
| | |||||
* | [pre-commit.ci] pre-commit autoupdate (#997) | pre-commit-ci[bot] | 2021-05-24 | 1 | -4/+2 |
| | | | | | | | | | | | | * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v2.16.0 → v2.18.2](https://github.com/asottile/pyupgrade/compare/v2.16.0...v2.18.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | ||||
* | [pre-commit.ci] pre-commit autoupdate (#985) | pre-commit-ci[bot] | 2021-05-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v2.13.0 → v2.15.0](https://github.com/asottile/pyupgrade/compare/v2.13.0...v2.15.0) - https://github.com/ambv/black → https://github.com/psf/black - [github.com/psf/black: 20.8b1 → 21.5b1](https://github.com/psf/black/compare/20.8b1...21.5b1) - [github.com/pre-commit/mirrors-prettier: v2.2.1 → v2.3.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.2.1...v2.3.0) - https://gitlab.com/pycqa/flake8 → https://github.com/PyCQA/flake8 - [github.com/PyCQA/flake8: 3.9.0 → 3.9.2](https://github.com/PyCQA/flake8/compare/3.9.0...3.9.2) * Update requirements file * Black changes Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Fix issue #891 | Pierre Sassoulas | 2021-04-10 | 1 | -1/+1 |
| | | | | Remove outdated COPYING and rename COPYING.LESSER | ||||
* | Upgrading pyupgrade in pre-commit configuration | Pierre Sassoulas | 2021-04-10 | 1 | -13/+13 |
| | |||||
* | Upgrade copyrite notice | Pierre Sassoulas | 2021-02-28 | 1 | -0/+2 |
| | |||||
* | Fix black issues | Marc Mueller | 2021-02-27 | 1 | -2/+2 |
| | |||||
* | Move from % syntax to format or f-strings | Pierre Sassoulas | 2021-02-21 | 1 | -70/+63 |
| | | | | This is possible with python 3.6 | ||||
* | Remove the # coding, since PEP3120 the default is UTF8 | Pierre Sassoulas | 2021-02-21 | 1 | -1/+0 |
| | |||||
* | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -2/+6 |
| | |||||
* | Add a new EvaluatedObject container | Claudiu Popa | 2020-03-10 | 1 | -0/+3 |
| | | | | | | | | | This container is used to store values that have already been evaluated. For instance, 79d5a3a783cf0b5a729e4e467508e955a0cca55f added support for inferring `tuple()` call arguments, but as a result, the `elts` of a `Tuple` can be objects not *references*. As a result, `Tuple.elts` can contain class objects rather than references (names) to class object. The `EvaluatedObject` helps with that, as we still have to call `.infer()` (albeit a no-op) to grab the inferred value of an element. | ||||
* | Merge AsStringVisitor3 into AsStringVisitor since we no longer support Python 2 | Claudiu Popa | 2020-03-06 | 1 | -110/+71 |
| | |||||
* | Add support for converting Property objects to strings | Claudiu Popa | 2020-03-06 | 1 | -0/+3 |
| | |||||
* | Fix as_string for f-strings (#709) | Alex Hall | 2019-10-19 | 1 | -5/+28 |
| | | | | | | | | 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. | ||||
* | Remove accidental TODO | Alex Hall | 2019-10-18 | 1 | -1/+1 |
| | |||||
* | Fix as_string for attribute nodes with integer values | Alex Hall | 2019-10-18 | 1 | -1/+4 |
| | |||||
* | Fix async function definitions with decorators (#710) | Alex Hall | 2019-10-18 | 1 | -7/+12 |
| | |||||
* | Fix ClassDef.as_string() with keyword arguments, especially the metaclass (#707) | Alex Hall | 2019-10-18 | 1 | -10/+6 |
| | | | | | | * Failing test for ClassDef.as_string involving keyword arguments * Fix construction of keyword arguments in ClassDef as_string | ||||
* | Fix linting errors | Claudiu Popa | 2019-09-11 | 1 | -2/+0 |
| | |||||
* | Remove redundant compatibility code (#693) | Hugo van Kemenade | 2019-09-10 | 1 | -2/+1 |
| | |||||
* | Annotated AST follows PEP8 coding style when converted to string. | Łukasz Rogalski | 2019-06-22 | 1 | -1/+1 |
| | |||||
* | Add support for Python 3.8's `NamedExpr` nodes, which is part of assignment ↵ | Claudiu Popa | 2019-06-01 | 1 | -0/+6 |
| | | | | | | expressions. Close #674 | ||||
* | Remove Python 2 branches | Claudiu Popa | 2018-10-10 | 1 | -10/+7 |
| | |||||
* | Use generators for string joining instead of creating temporary lists | Claudiu Popa | 2018-10-10 | 1 | -16/+16 |
| | |||||
* | Initial formatting of astroid | Claudiu Popa | 2018-10-02 | 1 | -173/+210 |
| | |||||
* | Reflect AST changes in Python 3.8. | Serhiy Storchaka | 2018-09-30 | 1 | -3/+12 |
| | | | | | | | | * Num, Str, Bytes, Ellipsis and NameConstant are replaced with Constant. (https://bugs.python.org/issue32892) * Index is replaced with its value, ExtSlice is replaced with Tuple. (https://bugs.python.org/issue34822) | ||||
* | Spelling fixes | Ville Skyttä | 2018-07-24 | 1 | -2/+2 |
| | |||||
* | Update the copyright noticesastroid-2.0 | Claudiu Popa | 2018-07-15 | 1 | -2/+10 |
| | |||||
* | Move operator precedence methods into NodeNG | brendanator | 2018-07-05 | 1 | -54/+6 |
| | |||||
* | Improve as_string output of operators, elif, with, return & docs | brendanator | 2018-07-05 | 1 | -28/+132 |
| | | | | | | | | | | | | | The precedence and associativity rules of operators are respected and parens are only wrapped around child nodes when needed A single If node inside the else block is output as `elif` Unneccesary parens in with statements are removed Unneccesary parens in tuple returns are removed Doc strings in classes and functions no longer get additional indenting | ||||
* | Fix useless-object-inheritance lint error (#573) | Nick Drozd | 2018-06-28 | 1 | -1/+1 |
| | | | See https://github.com/PyCQA/pylint/pull/2209 | ||||
* | Remove some code that's always going to be the same now that we run on Python 3 | Claudiu Popa | 2018-06-04 | 1 | -6/+2 |
| | |||||
* | Add support for asynchronous comprehensions (#400) | Łukasz Rogalski | 2017-03-01 | 1 | -0/+5 |
| | | | Closes #399 | ||||
* | Add support for Python 3.6's annotated assignment nodes | rr- | 2017-02-09 | 1 | -0/+9 |
| | |||||
* | Remove occurrences of no-else-return and consider-using-ternary | Claudiu Popa | 2016-12-18 | 1 | -18/+18 |
| | |||||
* | add format string support (#365) | Jared Garst | 2016-10-24 | 1 | -1/+14 |
| | | | Format strings require support for two new nodes, FormattedValue, respectively JoinedStr. | ||||
* | Fix some pylint errors over the code base. | Claudiu Popa | 2016-08-24 | 1 | -1/+1 |
| | |||||
* | Even more granular copyrights (thanks to copyrite) | Claudiu Popa | 2016-07-22 | 1 | -2/+5 |
| | |||||
* | Keep a consistent copyright notice across the board. | Claudiu Popa | 2016-07-19 | 1 | -0/+2 |
| |