Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump astroid to 2.9.1, update changelogv2.9.1 | Pierre Sassoulas | 2021-12-31 | 33 | -29/+72 |
| | |||||
* | Remove distutils path patching (#1321) | Daniël van Noord | 2021-12-31 | 3 | -12/+4 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Add typing to ``brain_dataclasses`` (#1292) | Daniël van Noord | 2021-12-29 | 1 | -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 Sadhwani | 2021-12-29 | 12 | -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 Sadhwani | 2021-12-29 | 1 | -6/+1 |
| | | | | | (#1304)" (#1307)" (#1319) This reverts commit 7b049a163cc704955a4260992302ff755f6a6789. | ||||
* | Fix frame() error on inferred node (#1263) | Tushar Sadhwani | 2021-12-29 | 5 | -7/+34 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Fix node.statement overload typing - default argument (#1317) | Marc Mueller | 2021-12-29 | 2 | -2/+4 |
| | |||||
* | [pre-commit.ci] pre-commit autoupdate (#1315) | pre-commit-ci[bot] | 2021-12-28 | 1 | -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 Mueller | 2021-12-28 | 1 | -1/+1 |
| | |||||
* | Bump ci cache version (#1314) | Marc Mueller | 2021-12-27 | 1 | -1/+1 |
| | |||||
* | Revert "Remove useless NoReturn in NodeNG.statement's typing (#1304)" (#1307) | Marc Mueller | 2021-12-27 | 1 | -1/+6 |
| | | | This reverts commit df854be56ee5019fb7f578ffd4da068e46ed112a. | ||||
* | Fix dataclass inference for marshmallow_dataclass (#1298) | Nicolas Noirbent | 2021-12-23 | 3 | -3/+13 |
| | |||||
* | Upgrade mypy to 0.930 (#1310) | Marc Mueller | 2021-12-23 | 2 | -2/+2 |
| | |||||
* | Fix node.statement overload typing (#1308) | Marc Mueller | 2021-12-22 | 2 | -4/+4 |
| | |||||
* | Move ``_filter_stmts`` into its own file (#1303) | Daniël van Noord | 2021-12-20 | 3 | -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 Sadhwani | 2021-12-20 | 1 | -6/+1 |
| | |||||
* | Create ``scoped_nodes`` module (#1302) | Daniël van Noord | 2021-12-20 | 3 | -1/+42 |
| | |||||
* | Upgrade mypy to 0.920 (#1300) | Marc Mueller | 2021-12-16 | 2 | -2/+2 |
| | |||||
* | Add typing to ``_ast`` (#1296) | Daniël van Noord | 2021-12-16 | 1 | -14/+11 |
| | |||||
* | Make Module call the __init__ of NodeNG (#1262) | Daniël van Noord | 2021-12-16 | 3 | -5/+18 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Revert "Add stubs for ``setuptools`` and ``typed-ast`` to dependencies (#1294)" | Daniël van Noord | 2021-12-16 | 1 | -3/+0 |
| | | | | This reverts commit 37ce8bbf427b07b319a7a9d0289136579bf9f9c3. | ||||
* | Add stubs for ``setuptools`` and ``typed-ast`` to dependencies (#1294) | Daniël van Noord | 2021-12-15 | 1 | -0/+3 |
| | |||||
* | Upgrade pylint to 2.12.2 (#1297) | Pierre Sassoulas | 2021-12-15 | 5 | -6/+6 |
| | | | | | | | | | * Upgrade pylint to 2.12.2 * Default Python in the CI is now python 3.8 * Remove useless suppression for python 3.8 * Disable no-member for false positive with zipimport | ||||
* | Fix incorrect typing of optional default values | Daniël van Noord | 2021-12-15 | 4 | -7/+14 |
| | |||||
* | Prefer using the module loader to get source in builder. (#1207) | Gregory P. Smith | 2021-12-15 | 2 | -1/+15 |
| | | | | | | | | | * Use loader.get_source() in builder.module_build() Otherwise we fail to get the module source code when running in an embedded hermetic interpreter environment where the source does not live on a filesystem. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add typing to ``_normalize_path`` and ``_cache_normalize_path`` (#1291) | Daniël van Noord | 2021-12-15 | 1 | -2/+5 |
| | |||||
* | Add typing to ``brain_typing`` (#1293) | Daniël van Noord | 2021-12-15 | 1 | -8/+8 |
| | |||||
* | Resolve symlinks in the import path (#1253) | Keichi Takahashi | 2021-12-15 | 2 | -10/+19 |
| | | | | | | | | * Resolve symlinks in the import path * Drop expanduser() from _normalize_path() and add note Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Add mypy ignores and docstrings to ``modutils`` and ``util.py`` | Daniël van Noord | 2021-12-14 | 2 | -4/+8 |
| | |||||
* | Remove unused code - TreeRebuilder docstring (#1289) | Marc Mueller | 2021-12-13 | 1 | -5/+1 |
| | |||||
* | Fix typos (#1288) | Kian Meng, Ang | 2021-12-13 | 13 | -15/+15 |
| | |||||
* | Add parameter typing to ``assigned_stmts`` (#1249) | Daniël van Noord | 2021-12-08 | 2 | -12/+155 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Fix crash if a variable named "type" is subscripted in a generator ↵ | Jacob Walls | 2021-12-07 | 3 | -1/+10 |
| | | | | | expression (#1285) Co-authored-by Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | [pre-commit.ci] pre-commit autoupdate (#1286) | pre-commit-ci[bot] | 2021-12-06 | 1 | -2/+2 |
| | | | | | | | updates: - [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0) - [github.com/pre-commit/mirrors-prettier: v2.5.0 → v2.5.1](https://github.com/pre-commit/mirrors-prettier/compare/v2.5.0...v2.5.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | ||||
* | Fix typing of Arguments.args (#1283) | Daniël van Noord | 2021-12-05 | 2 | -2/+9 |
| | |||||
* | [pre-commit.ci] pre-commit autoupdate (#1279) | pre-commit-ci[bot] | 2021-11-29 | 1 | -1/+1 |
| | | | | | | updates: - [github.com/pre-commit/mirrors-prettier: v2.4.1 → v2.5.0](https://github.com/pre-commit/mirrors-prettier/compare/v2.4.1...v2.5.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | ||||
* | Update pylintrc (#1278) | Marc Mueller | 2021-11-28 | 1 | -4/+4 |
| | |||||
* | Upgrade to pylint 2.12 and enable ``for_any_all`` checker (#1277) | Nick Drozd | 2021-11-27 | 10 | -40/+24 |
| | | | | | | | | * Enable for_any_all check * Upgrade to pylint 2.12 in pre-commit configuration * Fix new Pylint warnings * Upgrade the regex for Mixin Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Change order of decorators in tests (#1275) | Daniël van Noord | 2021-11-24 | 1 | -1/+1 |
| | |||||
* | Fix ``mypy`` warnings for ``astroid/rebuilder`` (#1244) | Daniël van Noord | 2021-11-24 | 2 | -4/+11 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Add ``future`` argument to all ``NodeNG.statement()`` calls (#1235) | Daniël van Noord | 2021-11-24 | 7 | -19/+35 |
| | | | | | | | * Add ``future`` argument to all ``NodeNG.statement()`` calls * Add typing from ``statement()`` Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | [pre-commit.ci] pre-commit autoupdate (#1274) | pre-commit-ci[bot] | 2021-11-22 | 1 | -2/+2 |
| | | | | | | | updates: - [github.com/asottile/pyupgrade: v2.29.0 → v2.29.1](https://github.com/asottile/pyupgrade/compare/v2.29.0...v2.29.1) - [github.com/psf/black: 21.10b0 → 21.11b1](https://github.com/psf/black/compare/21.10b0...21.11b1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | ||||
* | Fix deque.insert() signature (#1272) | John Belmonte | 2021-11-22 | 2 | -1/+5 |
| | | | fixes #1260 | ||||
* | Require Python 3.6.2 (#1269) | Marc Mueller | 2021-11-21 | 2 | -1/+2 |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Add flake8-typing-import to the pre-commit configuration (#1240) | Pierre Sassoulas | 2021-11-21 | 3 | -3/+4 |
| | | | | | Relates to #1239 Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Resolve dependency conflicts with pylint (#1270) | Marc Mueller | 2021-11-21 | 2 | -1/+4 |
| | |||||
* | Upgrade the version to 2.9.1-dev0 following 2.9.0 release | Pierre Sassoulas | 2021-11-21 | 2 | -2/+2 |
| | |||||
* | Bump astroid to 2.9.0, update changelogv2.9.0 | Pierre Sassoulas | 2021-11-21 | 6 | -6/+18 |
| | |||||
* | Add as_string visitor for Unknown node (#1268) | Marc Mueller | 2021-11-21 | 3 | -0/+13 |
| | |||||
* | Add end_lineno and end_col_offset to nodes (#1258) | Marc Mueller | 2021-11-21 | 8 | -187/+2951 |
| | | | | | | | | * Add end_lineno and end_col_offset infomation * Add annotations for fields that are always None * Changelog entry Requires Python 3.8 |