Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Reduce file system access in `ast_from_file()` (#2135) | Jacob Walls | 2023-04-23 | 2 | -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 Noord | 2023-04-23 | 6 | -34/+41 | |
| | | ||||||
* | | Fix constructors of ``Super`` | Daniël van Noord | 2023-04-23 | 2 | -13/+29 | |
| | | ||||||
* | | Add defaults for ``Unknown.__init__`` | Daniël van Noord | 2023-04-23 | 1 | -0/+17 | |
| | | ||||||
* | | Add defaults for ``EmptyNode.__init__`` | Daniël van Noord | 2023-04-23 | 1 | -0/+17 | |
| | | ||||||
* | | Fix constructor in dataclass brain | Daniël van Noord | 2023-04-23 | 1 | -0/+2 | |
| | | ||||||
* | | Fix some type issues in ``scoped_nodes`` (#2134) | Daniël van Noord | 2023-04-23 | 2 | -27/+36 | |
| | | ||||||
* | | Fix constructors of ``ComprehensionScopes`` (#2132) | Daniël van Noord | 2023-04-22 | 1 | -158/+52 | |
| | | ||||||
* | | Fix constructors of ``Module`` (#2133) | Daniël van Noord | 2023-04-22 | 3 | -49/+17 | |
| | | ||||||
* | | Fix constructors of ``ClassDef`` (#2130) | Daniël van Noord | 2023-04-22 | 9 | -91/+112 | |
| | | ||||||
* | | Fix numerous issues with typing and code in ``bases.py`` | Daniël van Noord | 2023-04-22 | 1 | -31/+41 | |
| | | ||||||
* | | Expand typing on ``CallContext`` | Daniël van Noord | 2023-04-22 | 1 | -1/+3 | |
| | | ||||||
* | | Expand typing on some exceptions | Daniël van Noord | 2023-04-22 | 1 | -3/+3 | |
| | | ||||||
* | | Fix constructors of ``FunctionDef`` | Daniël van Noord | 2023-04-22 | 4 | -62/+74 | |
| | | | | | | | | Co-authored-by: Nick Drozd <nicholasdrozd@gmail.com> | |||||
* | | Fix constructors of ``Lambda`` | Daniël van Noord | 2023-04-22 | 1 | -43/+12 | |
| | | | | | | | | Co-authored-by: Nick Drozd <nicholasdrozd@gmail.com> | |||||
* | | Add ``attr.Factory`` to the recognized class attributes for classes ↵ | Mark Byrne | 2023-04-19 | 1 | -1/+9 | |
| | | | | | | | | | | | | decorated with ``attrs``. Closes pylint-dev/pylint#4341 | |||||
* | | Decouple ``FunctionDef`` and ``Lambda`` (#2115) | Daniël van Noord | 2023-04-17 | 2 | -5/+98 | |
| | | | | | | As discussed in #2112 we really need to decouple this nodes. | |||||
* | | Suppress UserWarning when finding module specs (#2121) | Jacob Walls | 2023-04-16 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | Found when linting this code: ``` import setuptools import pip ``` | |||||
* | | Port property-related workaround from `infer_functiondef` to ↵ | Jacob Walls | 2023-04-16 | 1 | -1/+2 | |
| | | | | | | | | `infer_property` (#2119) | |||||
* | | Fix infer_call_result() crash on methods called with_metaclass() (#2118) | Jacob Walls | 2023-04-15 | 1 | -1/+9 | |
| | | ||||||
* | | Use `safe_infer` in `_unpack_args` and `_unpack_keywords` (#2117) | Tushar Sadhwani | 2023-04-15 | 1 | -23/+4 | |
| | | ||||||
* | | Clean up If fields (#2109) | Nick Drozd | 2023-04-12 | 2 | -39/+8 | |
| | | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | | Mandatory fields for TryExcept | Nick Drozd | 2023-04-07 | 1 | -53/+12 | |
| | | ||||||
* | | Mandatory fields for ExceptHandler | Nick Drozd | 2023-04-07 | 1 | -60/+16 | |
| | | ||||||
* | | Mandatory field for Expr | Nick Drozd | 2023-04-05 | 1 | -37/+3 | |
| | | ||||||
* | | Mandatory field for Yield | Nick Drozd | 2023-04-05 | 2 | -41/+5 | |
| | | ||||||
* | | Mandatory fields for Decorators (#2107) | Nick Drozd | 2023-04-05 | 1 | -40/+2 | |
| | | ||||||
* | | Mandatory fields for Comprehension (#2099) | Nick Drozd | 2023-04-05 | 2 | -38/+22 | |
| | | ||||||
* | | Mandatory fields for Return (#2104) | Nick Drozd | 2023-04-05 | 2 | -39/+4 | |
| | | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | | Mandatory fields for Raise (#2103) | Nick Drozd | 2023-04-05 | 1 | -42/+6 | |
| | | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | | Mandatory fields for Slice | Nick Drozd | 2023-04-05 | 1 | -47/+9 | |
| | | ||||||
* | | Type ``igetattr`` (#2101) | Daniël van Noord | 2023-04-05 | 4 | -13/+20 | |
| | | ||||||
* | | Fix typing issues with ``class_instance_as_index`` (#2102) | Daniël van Noord | 2023-04-05 | 1 | -1/+1 | |
| | | | | | | | | | | * Fix typing issues with ``class_instance_as_index`` * Use the old ``__class__`` check | |||||
* | | Mandatory fields for Assert (#2100) | Nick Drozd | 2023-04-04 | 1 | -41/+5 | |
| | | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | | Mandatory fields for While (#2095) | Nick Drozd | 2023-04-04 | 1 | -51/+11 | |
| | | ||||||
* | | [pre-commit.ci] pre-commit autoupdate (#2097) | pre-commit-ci[bot] | 2023-04-04 | 1 | -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 Noord | 2023-04-04 | 2 | -53/+10 | |
| | | ||||||
* | | Fix constructors of ``Name`` | Daniël van Noord | 2023-04-04 | 3 | -26/+39 | |
| | | ||||||
* | | Add typing to the ``scope_lookup`` interface | Daniël van Noord | 2023-04-04 | 4 | -30/+30 | |
| | | ||||||
* | | Mandatory fields for For (#2091) | Nick Drozd | 2023-04-04 | 1 | -60/+17 | |
| | | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | | Fix two minor type errors | Nick Drozd | 2023-04-04 | 1 | -8/+10 | |
| | | ||||||
* | | Manadatory fields for Await | Nick Drozd | 2023-04-04 | 1 | -37/+3 | |
| | | ||||||
* | | Formalize the ``block_range`` methods on nodes | Daniël van Noord | 2023-04-03 | 4 | -25/+11 | |
| | | ||||||
* | | Fix ``lineno`` API on nodes | Daniël van Noord | 2023-04-03 | 3 | -14/+27 | |
| | | ||||||
* | | Fix constructors of ``Arguments`` | Daniël van Noord | 2023-04-03 | 3 | -129/+79 | |
| | | ||||||
* | | Fix constructors of ``Keyword`` | Daniël van Noord | 2023-04-03 | 1 | -30/+11 | |
| | | ||||||
* | | Fix typing issues with ``Lambda`` | Daniël van Noord | 2023-04-03 | 1 | -3/+3 | |
| | | ||||||
* | | Broaden signatures of methods of classes that are subclassed | Daniël van Noord | 2023-04-03 | 2 | -4/+4 | |
| | | ||||||
* | | Fix usage of ``Self`` | Daniël van Noord | 2023-04-03 | 1 | -2/+2 | |
| | | ||||||
* | | Expand signature of ``InferenceError`` | Daniël van Noord | 2023-04-03 | 1 | -4/+5 | |
| | |