Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Disable no-member for false positive with zipimportupgrade-pylint-to-2.12.2 | Pierre Sassoulas | 2021-12-15 | 2 | -1/+2 |
| | |||||
* | Remove useless suppression for python 3.8 | Pierre Sassoulas | 2021-12-15 | 1 | -3/+2 |
| | |||||
* | Default Python in the CI is now python 3.8 | Pierre Sassoulas | 2021-12-15 | 1 | -1/+1 |
| | |||||
* | Upgrade pylint to 2.12.2 | Pierre Sassoulas | 2021-12-15 | 1 | -1/+1 |
| | |||||
* | 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 | ||||
* | Always treat __class_getitem__ as a classmethod (#1266) | Dmitry Shachnev | 2021-11-21 | 3 | -0/+17 |
| | | | | | | | | | | | | | | | * Always treat __class_getitem__ as a classmethod Consider this code: class Foo: def __class_getitem__(cls, *args, **kwargs): return cls Without this change, astroid would treat cls as an instance of Foo, and thus it will think of Foo[bar] also as an instance, while really it is the same as Foo. Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Upgrade the version to 2.9.0-dev0 following 2.8.6 release | Pierre Sassoulas | 2021-11-21 | 2 | -2/+2 |
| | |||||
* | Bump astroid to 2.8.6, update changelogv2.8.6 | Pierre Sassoulas | 2021-11-21 | 19 | -15/+21 |
| | |||||
* | Fix small spelling errors (#1265) | Marc Mueller | 2021-11-21 | 2 | -4/+4 |
| | |||||
* | Add annotations for always None attributes (#1261) | Marc Mueller | 2021-11-19 | 2 | -0/+13 |
| | |||||
* | Add ``InferenceContext`` to ``ClassModel`` (#1257) | Daniël van Noord | 2021-11-19 | 3 | -2/+32 |
| | |||||
* | Remove forgotten debug ``print`` statement from tests | Daniël van Noord | 2021-11-18 | 1 | -1/+0 |
| | |||||
* | Skip test_oserror if six is installed (#1254) | Keichi Takahashi | 2021-11-18 | 1 | -0/+8 |
| | |||||
* | Change ``NoReturn`` to be encapsulated in strings (#1252) | Daniël van Noord | 2021-11-18 | 3 | -6/+10 |
| | | | | | * Change ``NoReturn`` to be encapsulated in strings Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Filter ``DeprecationWarning`` in tests of deprecated methods | Daniël van Noord | 2021-11-18 | 1 | -0/+2 |
| | |||||
* | Add ``type: ignore`` to method reassignments (#1247) | Daniël van Noord | 2021-11-17 | 1 | -19/+21 |
| | |||||
* | Add additional flags to ``mypy`` config and update ``type: ignore``'s (#1248) | Daniël van Noord | 2021-11-17 | 5 | -10/+13 |
| | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | ||||
* | Fix `mypy` warnings for `astroid/builder` and `astroid/nodes/as_string` (#1246) | Daniël van Noord | 2021-11-17 | 3 | -6/+9 |
| | | | | | | | * Fix ``mypy`` warnings for ``astroid/builder`` * Fix ``mypy`` warnings for ``astroid/nodes/as_string`` * Update typing of build_namespace_package_module | ||||
* | Fix ``mypy`` warnings for ``astroid/nodes/node_ng`` | Daniël van Noord | 2021-11-17 | 1 | -2/+3 |
| | |||||
* | [pre-commit.ci] pre-commit autoupdate | pre-commit-ci[bot] | 2021-11-15 | 1 | -1/+1 |
| | | | | | updates: - [github.com/PyCQA/isort: 5.10.0 → 5.10.1](https://github.com/PyCQA/isort/compare/5.10.0...5.10.1) | ||||
* | Upgrade the version to 2.8.6-dev0 following 2.8.5 release | Pierre Sassoulas | 2021-11-12 | 2 | -2/+2 |
| | |||||
* | Bump astroid to 2.8.5, update changelogv2.8.5 | Pierre Sassoulas | 2021-11-12 | 12 | -12/+19 |
| | |||||
* | More permissive version for typed-ast | Pierre Sassoulas | 2021-11-12 | 2 | -1/+5 |
| | | | | Closes #1237 | ||||
* | Improve filtering of ``NamedExpr``, particularly within ``If`` nodes (#1233) | Daniël van Noord | 2021-11-12 | 3 | -3/+82 |
| | | | | | * Improve filtering of ``NamedExpr``, particularly within ``If`` nodes Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> |