Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Recognize stub ``pyi`` Python files. (#2182)HEADmain | Mark Byrne | 2023-05-16 | 9 | -0/+22 |
| | | | | | | | Recognize stub ``pyi`` Python files. Refs pylint-dev/pylint#4987 Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Skip recursion test on PyPy | Jacob Walls | 2023-05-15 | 1 | -1/+4 |
| | | | | Reapplied from c1e4c95. | ||||
* | Handle ``objects.Super`` in `helpers.object_type()` (#2177) | Jacob Walls | 2023-05-14 | 1 | -0/+1 |
| | |||||
* | Remove pylint disables and resolves TODO in pylintrc (#2175) | Jacob Walls | 2023-05-12 | 2 | -2/+2 |
| | |||||
* | Complete cache key for inference tip (#2158) | Jacob Walls | 2023-05-06 | 3 | -11/+24 |
| | | | | | The cache key was lacking the `context` arg. Co-authored-by: Sylvain Ackermann <sylvain.ackermann@gmail.com> | ||||
* | Fix urllib3 tests following the release of v2.0.0 (#2162) | Pierre Sassoulas | 2023-05-01 | 1 | -3/+4 |
| | |||||
* | Allow passing ``UninferableBase`` to ``safe_infer`` | Daniël van Noord | 2023-05-01 | 1 | -0/+5 |
| | |||||
* | Remove deprecated doc attribute (#2154) | Marc Mueller | 2023-04-25 | 6 | -123/+0 |
| | |||||
* | Remove deprecated `is_sys_guard` + `is_typing_guard` (#2153) | Marc Mueller | 2023-04-25 | 1 | -60/+0 |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Fix the signature of ``infer_call_result`` | Daniel van Noord | 2023-04-25 | 2 | -2/+2 |
| | |||||
* | Make all arguments to ``nodes.NodeNG.__init__`` required (#2138) | Daniël van Noord | 2023-04-25 | 2 | -3/+29 |
| | |||||
* | Merge branch 'maintenance/2.15.x' into main | Marc Mueller | 2023-04-24 | 1 | -4/+4 |
|\ | |||||
| * | Various TryStar fixes (#2142) | Marc Mueller | 2023-04-24 | 1 | -4/+4 |
| | | |||||
| * | Suppress UserWarning when finding module specs (#2121) (#2122) | github-actions[bot] | 2023-04-16 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | | | | Found when linting this code: ``` import setuptools import pip ``` (cherry picked from commit 6723e635e54e991a4304e45293308f5076b0bcb8) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
| * | Add xfail | Jacob Walls | 2023-04-16 | 1 | -0/+3 |
| | | |||||
| * | Fix infer_call_result() crash on methods called with_metaclass() (#2118) | Jacob Walls | 2023-04-16 | 1 | -0/+5 |
| | | |||||
| * | Support attrs decorators even if they are imported from attrs (#2059) (#2073) | Pierre Sassoulas | 2023-04-01 | 1 | -2/+32 |
| | | | | | | | | | | | | | | | | Use inference to determine membership of ``attr(s)`` module Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> (cherry picked from commit 489c90fb29970d9362f21f26247bd45a39832dcd) Co-authored-by: alm <alonme@users.noreply.github.com> | ||||
| * | Restore setting a Call as a base for classes using `six.with_metaclass` ↵ | github-actions[bot] | 2023-03-26 | 2 | -3/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#2049) (#2067) Harden support for using enums as metaclasses. Fixes the crash in PyCQA/pylint#5935 by adopting the check for not-none bases as in ClassDef._inferred_bases without recausing the false positive reported in PyCQA/pylint#7506, which requires correct bases. (cherry picked from commit b5ebf994a1c6039fa8ca4706889e007700cdf41a) Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | | Remove unused constants (#2141) | Marc Mueller | 2023-04-24 | 8 | -60/+15 |
| | | | | | | | | | | | | * Remove `PY38_PLUS` constant * Remove `BUILTINS` constants * Remove `Load` + `Store` + `Del` * Remove `BOOL_SPECIAL_METHOD` | ||||
* | | Remove cachedproperty decorator (#2140) | Marc Mueller | 2023-04-24 | 1 | -17/+1 |
| | | |||||
* | | Drop support for Python 3.7 (#2137) | Marc Mueller | 2023-04-23 | 1 | -5/+1 |
| | | |||||
* | | Fix constructors of ``Module`` (#2133) | Daniël van Noord | 2023-04-22 | 2 | -24/+1 |
| | | |||||
* | | Fix constructors of ``ClassDef`` (#2130) | Daniël van Noord | 2023-04-22 | 3 | -7/+36 |
| | | |||||
* | | Fix constructors of ``FunctionDef`` | Daniël van Noord | 2023-04-22 | 1 | -3/+17 |
| | | | | | | | | 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/+7 |
| | | | | | | | | | | | | decorated with ``attrs``. Closes pylint-dev/pylint#4341 | ||||
* | | Decouple ``FunctionDef`` and ``Lambda`` (#2115) | Daniël van Noord | 2023-04-17 | 1 | -0/+33 |
| | | | | | | As discussed in #2112 we really need to decouple this nodes. | ||||
* | | Suppress UserWarning when finding module specs (#2121) | Jacob Walls | 2023-04-16 | 1 | -0/+10 |
| | | | | | | | | | | | | | | Found when linting this code: ``` import setuptools import pip ``` | ||||
* | | Port property-related workaround from `infer_functiondef` to ↵ | Jacob Walls | 2023-04-16 | 1 | -0/+8 |
| | | | | | | | | `infer_property` (#2119) | ||||
* | | Fix infer_call_result() crash on methods called with_metaclass() (#2118) | Jacob Walls | 2023-04-15 | 1 | -0/+5 |
| | | |||||
* | | Use `safe_infer` in `_unpack_args` and `_unpack_keywords` (#2117) | Tushar Sadhwani | 2023-04-15 | 1 | -6/+49 |
| | | |||||
* | | [pre-commit.ci] pre-commit autoupdate (#2097) | pre-commit-ci[bot] | 2023-04-04 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | * [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 ``Arguments`` | Daniël van Noord | 2023-04-03 | 1 | -1/+5 |
| | | |||||
* | | Fix constructors of ``AssignName`` (#2077) | Daniël van Noord | 2023-04-03 | 2 | -3/+22 |
| | | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | | Don't add typing stubs for packages that we only use in tests (#2080) | Daniël van Noord | 2023-04-03 | 8 | -8/+8 |
| | | |||||
* | | Support attrs decorators even if they are imported from attrs (#2059) | alm | 2023-04-01 | 1 | -2/+32 |
| | | | | | | | | | | Use inference to determine membership of ``attr(s)`` module Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | | [PyCQA migration] Upgrade links to the repositories in code and doc | Pierre Sassoulas | 2023-03-29 | 60 | -192/+192 |
| | | |||||
* | | Restore setting a Call as a base for classes using `six.with_metaclass` (#2049) | Jacob Walls | 2023-03-26 | 2 | -3/+16 |
| | | | | | | | | | | | | | | | | Harden support for using enums as metaclasses. Fixes the crash in PyCQA/pylint#5935 by adopting the check for not-none bases as in ClassDef._inferred_bases without recausing the false positive reported in PyCQA/pylint#7506, which requires correct bases. | ||||
* | | Upgrade pre-commit configuration and move to ruff (#2057) | Pierre Sassoulas | 2023-03-14 | 3 | -4/+3 |
| | | |||||
* | | Add xfail | Jacob Walls | 2023-03-12 | 1 | -0/+3 |
|/ | |||||
* | Add 'TryStar' nodes from Python 3.11 #1516 (#2028) | Pierre Sassoulas | 2023-03-05 | 1 | -0/+111 |
| | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
* | Clear context cache in AstroidManager.clear_cache() | Jacob Walls | 2023-03-04 | 1 | -0/+2 |
| | |||||
* | Infer returns from match cases (#2042) | Jacob Walls | 2023-03-03 | 1 | -0/+19 |
| | |||||
* | Update submodule_path after finding an editable install (#2033) | noah-weingarden | 2023-02-26 | 4 | -0/+86 |
| | |||||
* | Ignore ``DeprecationWarnings`` for a test that tests old behaviour (#2037) | Daniël van Noord | 2023-02-23 | 1 | -1/+5 |
| | |||||
* | Fix `are_exclusive` function for walrus operator (#2023) | ostr00000 | 2023-02-13 | 1 | -1/+76 |
| | |||||
* | [brain tests] Burst threading from the main file | Pierre Sassoulas | 2023-02-12 | 3 | -43/+54 |
| | |||||
* | [brain tests] Burst pytest from the main file | Pierre Sassoulas | 2023-02-12 | 3 | -28/+34 |
| | |||||
* | Replace and deprecate modutils.is_standard_module() (#2015) | Avram Lubkin | 2023-02-12 | 2 | -25/+129 |
| | |||||
* | Fix '_infer_str_format_call' crash when the string it analyses are ↵ | Pierre Sassoulas | 2023-02-12 | 1 | -1/+20 |
| | | | | | | | | uninferable (#2024) Closes PyCQA/pylint#8109 | ||||
* | [brain tests] Burst enum tests from the main file | Pierre Sassoulas | 2023-02-09 | 2 | -483/+496 |
| |