summaryrefslogtreecommitdiff
path: root/astroid
Commit message (Collapse)AuthorAgeFilesLines
...
* | Reduce file system access in `ast_from_file()` (#2135)Jacob Walls2023-04-232-8/+15
| | | | | | | | | | get_source_file() is needed to resolve relative to absolute paths, but is not needed before getting a cache hit. This had the potential to issue tens of thousands of repetitive os.path.exists() calls.
* | Remove all ``lazy_imports``Daniël van Noord2023-04-236-34/+41
| |
* | Fix constructors of ``Super``Daniël van Noord2023-04-232-13/+29
| |
* | Add defaults for ``Unknown.__init__``Daniël van Noord2023-04-231-0/+17
| |
* | Add defaults for ``EmptyNode.__init__``Daniël van Noord2023-04-231-0/+17
| |
* | Fix constructor in dataclass brainDaniël van Noord2023-04-231-0/+2
| |
* | Fix some type issues in ``scoped_nodes`` (#2134)Daniël van Noord2023-04-232-27/+36
| |
* | Fix constructors of ``ComprehensionScopes`` (#2132)Daniël van Noord2023-04-221-158/+52
| |
* | Fix constructors of ``Module`` (#2133)Daniël van Noord2023-04-223-49/+17
| |
* | Fix constructors of ``ClassDef`` (#2130)Daniël van Noord2023-04-229-91/+112
| |
* | Fix numerous issues with typing and code in ``bases.py``Daniël van Noord2023-04-221-31/+41
| |
* | Expand typing on ``CallContext``Daniël van Noord2023-04-221-1/+3
| |
* | Expand typing on some exceptionsDaniël van Noord2023-04-221-3/+3
| |
* | Fix constructors of ``FunctionDef``Daniël van Noord2023-04-224-62/+74
| | | | | | | | Co-authored-by: Nick Drozd <nicholasdrozd@gmail.com>
* | Fix constructors of ``Lambda``Daniël van Noord2023-04-221-43/+12
| | | | | | | | Co-authored-by: Nick Drozd <nicholasdrozd@gmail.com>
* | Add ``attr.Factory`` to the recognized class attributes for classes ↵Mark Byrne2023-04-191-1/+9
| | | | | | | | | | | | decorated with ``attrs``. Closes pylint-dev/pylint#4341
* | Decouple ``FunctionDef`` and ``Lambda`` (#2115)Daniël van Noord2023-04-172-5/+98
| | | | | | As discussed in #2112 we really need to decouple this nodes.
* | Suppress UserWarning when finding module specs (#2121)Jacob Walls2023-04-161-1/+4
| | | | | | | | | | | | | | Found when linting this code: ``` import setuptools import pip ```
* | Port property-related workaround from `infer_functiondef` to ↵Jacob Walls2023-04-161-1/+2
| | | | | | | | `infer_property` (#2119)
* | Fix infer_call_result() crash on methods called with_metaclass() (#2118)Jacob Walls2023-04-151-1/+9
| |
* | Use `safe_infer` in `_unpack_args` and `_unpack_keywords` (#2117)Tushar Sadhwani2023-04-151-23/+4
| |
* | Clean up If fields (#2109)Nick Drozd2023-04-122-39/+8
| | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Mandatory fields for TryExceptNick Drozd2023-04-071-53/+12
| |
* | Mandatory fields for ExceptHandlerNick Drozd2023-04-071-60/+16
| |
* | Mandatory field for ExprNick Drozd2023-04-051-37/+3
| |
* | Mandatory field for YieldNick Drozd2023-04-052-41/+5
| |
* | Mandatory fields for Decorators (#2107)Nick Drozd2023-04-051-40/+2
| |
* | Mandatory fields for Comprehension (#2099)Nick Drozd2023-04-052-38/+22
| |
* | Mandatory fields for Return (#2104)Nick Drozd2023-04-052-39/+4
| | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Mandatory fields for Raise (#2103)Nick Drozd2023-04-051-42/+6
| | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Mandatory fields for SliceNick Drozd2023-04-051-47/+9
| |
* | Type ``igetattr`` (#2101)Daniël van Noord2023-04-054-13/+20
| |
* | Fix typing issues with ``class_instance_as_index`` (#2102)Daniël van Noord2023-04-051-1/+1
| | | | | | | | | | * Fix typing issues with ``class_instance_as_index`` * Use the old ``__class__`` check
* | Mandatory fields for Assert (#2100)Nick Drozd2023-04-041-41/+5
| | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Mandatory fields for While (#2095)Nick Drozd2023-04-041-51/+11
| |
* | [pre-commit.ci] pre-commit autoupdate (#2097)pre-commit-ci[bot]2023-04-041-1/+1
| | | | | | | | | | | | | | | | | | * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.259 → v0.0.260](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.259...v0.0.260) - [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
* | Fix constructors of ``Call``Daniël van Noord2023-04-042-53/+10
| |
* | Fix constructors of ``Name``Daniël van Noord2023-04-043-26/+39
| |
* | Add typing to the ``scope_lookup`` interfaceDaniël van Noord2023-04-044-30/+30
| |
* | Mandatory fields for For (#2091)Nick Drozd2023-04-041-60/+17
| | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* | Fix two minor type errorsNick Drozd2023-04-041-8/+10
| |
* | Manadatory fields for AwaitNick Drozd2023-04-041-37/+3
| |
* | Formalize the ``block_range`` methods on nodesDaniël van Noord2023-04-034-25/+11
| |
* | Fix ``lineno`` API on nodesDaniël van Noord2023-04-033-14/+27
| |
* | Fix constructors of ``Arguments``Daniël van Noord2023-04-033-129/+79
| |
* | Fix constructors of ``Keyword``Daniël van Noord2023-04-031-30/+11
| |
* | Fix typing issues with ``Lambda``Daniël van Noord2023-04-031-3/+3
| |
* | Broaden signatures of methods of classes that are subclassedDaniël van Noord2023-04-032-4/+4
| |
* | Fix usage of ``Self``Daniël van Noord2023-04-031-2/+2
| |
* | Expand signature of ``InferenceError``Daniël van Noord2023-04-031-4/+5
| |