summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Fix builtin inference on property not including function arguments"revert-1366-postinit-propertyArianna2022-01-203-27/+1
|
* Fix builtin inference on property not including function argumentsArianna2022-01-203-1/+27
|\
| * [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2022-01-201-3/+4
| | | | | | | | for more information, see https://pre-commit.ci
| * Add unittest for property inference postinitareveny2022-01-201-0/+21
| |
| * [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2022-01-201-1/+1
| | | | | | | | for more information, see https://pre-commit.ci
| * Fix builtin inference on property not including function argumentsareveny2022-01-202-1/+5
|/
* Add support for attrs v21.3.0+ (#1331)Jacob Bogdanov2022-01-202-1/+73
| | | | | | | | | | | | * Add support for attrs v21.3.0+ Since version [21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) you can now `import attrs` instead of just `import attr`. This patch adds support so that astroid doesn't barf on classes created using `@attrs.define`. Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Use ``_extract_single_node`` in ``brain_re`` (#1359)Daniël van Noord2022-01-181-2/+2
|
* Fix incorrect typing of ``doc`` attribute of ``Module`` (#1357)Daniël van Noord2022-01-181-1/+1
|
* Add ignore for incorrect typing of attributeDaniël van Noord2022-01-181-1/+1
|
* Add ``_extract_single_node`` and use in ``brain_typing``Daniël van Noord2022-01-182-5/+14
|
* Fix typing in ``arguments.py`` (#1356)Daniël van Noord2022-01-171-4/+3
|
* Rearrange and type attribute definition of ``nodes.Module`` (#1355)Daniël van Noord2022-01-171-78/+38
| | | | * Rearrange and type attribute definition of ``nodes.Module``
* Add typing to ``LocalsDictNodeNG.locals`` (#1354)Daniël van Noord2022-01-171-6/+3
|
* Add typing to ``__str__``, ``__repr__`` and ``_repr_name`` (#1353)Daniël van Noord2022-01-171-3/+3
|
* Use ``warnings.simplefilter`` instead of ``filterwarnings`` (#1352)Daniël van Noord2022-01-161-1/+1
|
* Correct documentation, nodes classes do not exend python's ones (#1343)tristanlatr2022-01-141-2/+5
| | | Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add typing to FunctionDef decorators attributes (#1345)Daniël van Noord2022-01-131-10/+5
|
* [pre-commit.ci] pre-commit autoupdate (#1334)pre-commit-ci[bot]2022-01-101-1/+1
| | | | | | updates: - [github.com/pre-commit/mirrors-mypy: v0.930 → v0.931](https://github.com/pre-commit/mirrors-mypy/compare/v0.930...v0.931) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Merge branch '2.9' into mainPierre Sassoulas2022-01-093-2/+23
|\
| * Upgrade the version to 2.9.4-dev0 following 2.9.3 release2.9Pierre Sassoulas2022-01-092-2/+2
| |
| * Bump astroid to 2.9.3, update changelogv2.9.3Pierre Sassoulas2022-01-095-4/+25
| |
| * Fix finding packages without an ``__init__.py`` (#1333)Daniël van Noord2022-01-093-1/+40
| |
| * Fix a typo in the changelogPierre Sassoulas2022-01-091-1/+1
| |
* | Fix finding packages without an ``__init__.py`` (#1333)Daniël van Noord2022-01-093-1/+40
| |
* | Fix a typo in the changelogPierre Sassoulas2022-01-041-1/+1
| |
* | Upgrade the version to 2.10.0-dev0 following 2.9.2 releasePierre Sassoulas2022-01-042-2/+2
|/
* Bump astroid to 2.9.2, update changelogv2.9.2Alexander Shadchin2022-01-0430-30/+33
|
* Fix import astroid.scoped_nodes (#1325)Alexander Shadchin2022-01-041-0/+2
|
* [pre-commit.ci] pre-commit autoupdate (#1328)pre-commit-ci[bot]2022-01-041-1/+1
| | | | | | updates: - [github.com/asottile/pyupgrade: v2.29.1 → v2.31.0](https://github.com/asottile/pyupgrade/compare/v2.29.1...v2.31.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Upgrade the version to 2.9.2-dev0 following 2.9.2 releasePierre Sassoulas2021-12-312-2/+2
|
* Bump astroid to 2.9.1, update changelogv2.9.1Pierre Sassoulas2021-12-3133-29/+72
|
* Remove distutils path patching (#1321)Daniël van Noord2021-12-313-12/+4
| | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Add typing to ``brain_dataclasses`` (#1292)Daniël van Noord2021-12-291-28/+44
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
* Add future=True to frame calls (#1305)Tushar Sadhwani2021-12-2912-22/+54
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* Revert "Revert "Remove useless NoReturn in NodeNG.statement's typing ↵Tushar Sadhwani2021-12-291-6/+1
| | | | | (#1304)" (#1307)" (#1319) This reverts commit 7b049a163cc704955a4260992302ff755f6a6789.
* Fix frame() error on inferred node (#1263)Tushar Sadhwani2021-12-295-7/+34
| | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* Fix node.statement overload typing - default argument (#1317)Marc Mueller2021-12-292-2/+4
|
* [pre-commit.ci] pre-commit autoupdate (#1315)pre-commit-ci[bot]2021-12-281-1/+1
| | | | | | updates: - [github.com/pre-commit/pre-commit-hooks: v4.0.1 → v4.1.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.0.1...v4.1.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Fix spelling (#1318)Marc Mueller2021-12-281-1/+1
|
* Bump ci cache version (#1314)Marc Mueller2021-12-271-1/+1
|
* Revert "Remove useless NoReturn in NodeNG.statement's typing (#1304)" (#1307)Marc Mueller2021-12-271-1/+6
| | | This reverts commit df854be56ee5019fb7f578ffd4da068e46ed112a.
* Fix dataclass inference for marshmallow_dataclass (#1298)Nicolas Noirbent2021-12-233-3/+13
|
* Upgrade mypy to 0.930 (#1310)Marc Mueller2021-12-232-2/+2
|
* Fix node.statement overload typing (#1308)Marc Mueller2021-12-222-4/+4
|
* Move ``_filter_stmts`` into its own file (#1303)Daniël van Noord2021-12-203-225/+240
| | | | | | | | We need access to all types of nodes in _filter_stmts. Not only those in node_classes (the file in which it was defined). This change shows that by moving _filter_stmts into its own file we can import the nodes module and access all of them. This will allow to fix some issue with it. I have tried to keep the change as minimal as possible and only changed how we refer to nodes.
* Remove useless NoReturn in NodeNG.statement's typing (#1304)Tushar Sadhwani2021-12-201-6/+1
|
* Create ``scoped_nodes`` module (#1302)Daniël van Noord2021-12-203-1/+42
|
* Upgrade mypy to 0.920 (#1300)Marc Mueller2021-12-162-2/+2
|
* Add typing to ``_ast`` (#1296)Daniël van Noord2021-12-161-14/+11
|