Age | Commit message (Collapse) | Author |
|
Test: None
Bug: http://b/206146298
Change-Id: I49ad18056d3a65aacb1952655490d6bb3060913c
|
|
Test: None
Bug: http://b/206146298
Change-Id: I55aacf3277a53dfe052b063818b9a18b9977ad32
|
|
|
|
|
|
Closes #1237
|
|
* Improve filtering of ``NamedExpr``, particularly within ``If`` nodes
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
updates:
- [github.com/PyCQA/isort: 5.9.3 → 5.10.0](https://github.com/PyCQA/isort/compare/5.9.3...5.10.0)
|
|
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
|
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
|
* Based on suggestions from #1218
|
|
updates:
- [github.com/psf/black: 21.9b0 → 21.10b0](https://github.com/psf/black/compare/21.9b0...21.10b0)
|
|
|
|
|
|
* Refactor and add typing to ``NodeNG.frame()``
|
|
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
|
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
|
|
|
|
|
* Move skip in `ArgumentsNodeTC` to correct function
|
|
Solves the specific crash in #1149
|
|
Adding a new test which ensures the local __members__ defined on an enum class isn't used for __members__ afterwards. This matches the behavior of Python.
|
|
|
|
|
|
* Fix regression with import resolver
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
|
This reverts commit 02f8b1627ca488b231bb9efa8ad3e65c59fa6d83.
|
|
|
|
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](https://github.com/PyCQA/flake8/compare/3.9.2...4.0.1)
- [github.com/pre-commit/mirrors-mypy: v0.910 → v0.910-1](https://github.com/pre-commit/mirrors-mypy/compare/v0.910...v0.910-1)
* Update requirements_test_pre_commit.txt
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>
|
|
* Add recognition of previous partial args/kwargs when chaining
Repeat use of functools.partial on the same function would only
keep the args & kwargs locked in by the last call to partial.
By checking if the wrapped function is itself a partial, and
including its filled args/kwargs if it is, we can keep track
of all locked args/kwargs across any number of nested partial
calls.
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
|
* Allow wrapt 1.13
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
This closes #1200
|
|
* Deprecate is_typing_guard and is_sys_guard
References #1199
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
|
* Use 3.10 for Github actions
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
* Fix ``relative-beyond-top-level`` false positive
|
|
* Adds unittest dealing with class subscript
* Adds support of type hints inside numpy's brains
* Adds unit test to check astroid does not crash if numpy is not available
|
|
updates:
- [github.com/asottile/pyupgrade: v2.28.0 → v2.29.0](https://github.com/asottile/pyupgrade/compare/v2.28.0...v2.29.0)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
|
|
|
* Added brain for stdlib signal module, for dynamically generated IntEnums.
* Added static definitions for Signals, Handlers and Sigmasks enums.
* Moved sys.platform checks outside of generated code.
* Added note to brain_signal docstring.
* Added unit tests for brain_signal.py.
|
|
* Extend attrs brain to support provisional APIs
See https://www.attrs.org/en/stable/api.html?highlight=field#provisional-apis
Co-authored-by: Tamir Bahar <tbahar@vdoo.com>
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.26.0 → v2.28.0](https://github.com/asottile/pyupgrade/compare/v2.26.0...v2.28.0)
* [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>
|
|
Following comment here: https://github.com/PyCQA/astroid/issues/1072\#issuecomment-925471310
|
|
* Revert modifications of PR 1148. While it is probably still a good idea
to prevent nodes that are dynamically imported to be inferred through an
astroid's brain, the way it was done in builder.py was incorrect.
The way it was done, lead to prevent the use of astroid legetimate
brains even for node that was not dynamically loaded.
* Adds a brain to infer the numpy.ma.masked_where function
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
|
|
This deals with PyCQA/pylint#5048
|
|
updates:
- [github.com/psf/black: 21.8b0 → 21.9b0](https://github.com/psf/black/compare/21.8b0...21.9b0)
- [github.com/pre-commit/mirrors-prettier: v2.4.0 → v2.4.1](https://github.com/pre-commit/mirrors-prettier/compare/v2.4.0...v2.4.1)
|