summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Recognize stub ``pyi`` Python files. (#2182)HEADmainMark Byrne2023-05-1612-8/+33
| | | | | | | Recognize stub ``pyi`` Python files. Refs pylint-dev/pylint#4987 Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
* [pre-commit.ci] pre-commit autoupdate (#2184)pre-commit-ci[bot]2023-05-161-2/+2
| | | | | | | updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.265 → v0.0.267](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.265...v0.0.267) - [github.com/pre-commit/mirrors-mypy: v1.2.0 → v1.3.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.2.0...v1.3.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Skip recursion test on PyPyJacob Walls2023-05-151-1/+4
| | | | Reapplied from c1e4c95.
* Add disableJacob Walls2023-05-151-1/+2
|
* Add a bound to the inference tips cacheJacob Walls2023-05-151-3/+9
| | | | | | | Small bounds still yield about equal hits and misses. Further work could determine if storing only the last result is optimal.
* Add `InferenceContext.is_empty()`Jacob Walls2023-05-152-0/+15
|
* Remove cache entries in all exit pathsJacob Walls2023-05-151-3/+10
| | | | Follow-up to 0740a0dd5e9cb48bb1a400aded498e4db1fcfca9.
* Improve performance of `looks_like_numpy_member()` (#2178)Jacob Walls2023-05-144-25/+30
| | | Avoids 32% of the calls to isinstance() when linting astroid
* Bump astroid to 3.0.0a4-dev0, update changelogPierre Sassoulas2023-05-142-2/+2
|
* Bump astroid to 3.0.0a3, update changelogv3.0.0a3Pierre Sassoulas2023-05-142-2/+2
|
* Handle ``objects.Super`` in `helpers.object_type()` (#2177)Jacob Walls2023-05-143-2/+6
|
* Publicize `NodeNG.repr_name()` (#2176)Jacob Walls2023-05-132-6/+7
|
* Remove pylint disables and resolves TODO in pylintrc (#2175)Jacob Walls2023-05-126-7/+3
|
* [pre-commit.ci] pre-commit autoupdate (#2173)pre-commit-ci[bot]2023-05-091-2/+2
| | | | | | | updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.263 → v0.0.265](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.263...v0.0.265) - [github.com/asottile/pyupgrade: v3.3.2 → v3.4.0](https://github.com/asottile/pyupgrade/compare/v3.3.2...v3.4.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Fix constructors of ``BaseContainer`` and ``Dict``Daniël van Noord2023-05-087-96/+156
|
* Fix some typing in ``helpers.py``Daniël van Noord2023-05-082-28/+28
|
* Add two type ignoresDaniël van Noord2023-05-081-2/+3
|
* Improve typing of inference functions (#2166)Jacob Walls2023-05-075-42/+84
| | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Complete cache key for inference tip (#2158)Jacob Walls2023-05-065-19/+53
| | | | | The cache key was lacking the `context` arg. Co-authored-by: Sylvain Ackermann <sylvain.ackermann@gmail.com>
* Import `typing_extensions` under version guard.Jacob Walls2023-05-061-2/+6
|
* Use Python 3.11 for Read the Docs buildJacob Walls2023-05-061-1/+5
|
* [pre-commit.ci] pre-commit autoupdate (#2164)pre-commit-ci[bot]2023-05-021-1/+1
| | | | | | updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.262 → v0.0.263](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.262...v0.0.263) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Fix urllib3 tests following the release of v2.0.0 (#2162)Pierre Sassoulas2023-05-012-4/+5
|
* Allow passing ``UninferableBase`` to ``safe_infer``Daniël van Noord2023-05-012-1/+9
|
* Type ``bases.py``Daniël van Noord2023-05-011-32/+62
|
* Type ``decoratornames``Daniël van Noord2023-05-011-2/+1
|
* Broaden annotations that are too narrowDaniël van Noord2023-05-015-12/+13
|
* Rename ``module`` to ``node``Daniël van Noord2023-04-301-2/+2
|
* Complete typing of ``context.py``Daniël van Noord2023-04-301-30/+14
|
* Fix ``infer_argument`` partiallyDaniël van Noord2023-04-303-10/+18
|
* Fix some typing issuesDaniël van Noord2023-04-304-7/+7
|
* Yield directly from _explicit_inference in NodeNG.infer() (#2157)Jacob Walls2023-04-301-5/+6
|
* Update wording of commentDaniël van Noord2023-04-261-1/+1
|
* Add package data to ``pyprojecttoml``Daniel van Noord2023-04-261-0/+8
|
* Simplify structure of requirement filesDaniel van Noord2023-04-269-32/+36
|
* Upgrade the version to 3.0.0a3-dev0 following 3.0.0a2 releaseMarc Mueller2023-04-252-2/+2
|
* Bump astroid to 3.0.0a2, update changelogv3.0.0a2Marc Mueller2023-04-252-2/+2
|
* Remove deprecated doc attribute (#2154)Marc Mueller2023-04-258-206/+9
|
* Remove deprecated `is_sys_guard` + `is_typing_guard` (#2153)Marc Mueller2023-04-253-114/+4
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
* Remove deprecated nodesMarc Mueller2023-04-256-57/+7
|
* Merge pull request #2151 from pylint-dev/release-3.0.0a1Marc Mueller2023-04-255-4/+12
|\ | | | | Release 3.0.0a1
| * Upgrade the version to 3.0.0a2-dev0 following the 3.0.0a1 releaseMarc Mueller2023-04-252-2/+2
| |
| * Bump astroid to 3.0.0a1, update changelogv3.0.0a1Marc Mueller2023-04-252-2/+2
| |
| * Update contributorsMarc Mueller2023-04-252-1/+9
| |
| * Modify bump_changelog scriptMarc Mueller2023-04-251-1/+1
|/
* Fix the signature of ``infer_call_result``Daniel van Noord2023-04-259-38/+94
|
* Update sphinx requirement from ~=5.3 to ~=6.2 (#2147)dependabot[bot]2023-04-251-1/+1
| | | | | | | | | | | | | | | Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v5.3.0...v6.2.0) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Make all arguments to ``nodes.NodeNG.__init__`` required (#2138)Daniël van Noord2023-04-259-35/+94
|
* [pre-commit.ci] pre-commit autoupdate (#2149)pre-commit-ci[bot]2023-04-251-3/+3
| | | | | | | | updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.261 → v0.0.262](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.261...v0.0.262) - [github.com/asottile/pyupgrade: v3.3.1 → v3.3.2](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.3.2) - [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.6 → v3.0.0-alpha.9-for-vscode](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.6...v3.0.0-alpha.9-for-vscode) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Remove ``laxy_object_proxy`` as dependency (#2139)Daniël van Noord2023-04-244-27/+11
|