Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [brain tests] Burst typing extensions from the main file | Pierre Sassoulas | 2023-02-09 | 2 | -32/+41 | |
| | ||||||
* | [brain tests] Burst attr from the main file | Pierre Sassoulas | 2023-02-09 | 2 | -181/+191 | |
| | ||||||
* | [brain tests] Burst dateutil from the main file | Pierre Sassoulas | 2023-02-09 | 2 | -20/+29 | |
| | ||||||
* | [brain tests] Burst nose from the main file | Pierre Sassoulas | 2023-02-09 | 2 | -35/+45 | |
| | ||||||
* | [brain tests] Burst multiprocessing from the main file | Pierre Sassoulas | 2023-02-09 | 2 | -105/+115 | |
| | ||||||
* | [brain tests] Burst six from the main file | Pierre Sassoulas | 2023-02-09 | 2 | -145/+156 | |
| | ||||||
* | [brain tests] Burst named tuple from the main file | Pierre Sassoulas | 2023-02-09 | 2 | -300/+311 | |
| | ||||||
* | [brain tests] Burst hashlib from the main file | Pierre Sassoulas | 2023-02-09 | 2 | -56/+64 | |
| | ||||||
* | [brain tests] Rename 'unittest' prefix to 'test' | Pierre Sassoulas | 2023-02-09 | 43 | -0/+0 | |
| | ||||||
* | [unittest brain] Remove unused unittest.main | Pierre Sassoulas | 2023-02-09 | 25 | -100/+0 | |
| | ||||||
* | [brain tests] Move the file to their dir and shorten name | Pierre Sassoulas | 2023-02-09 | 21 | -0/+0 | |
| | ||||||
* | Add support for keyword only argument default values | Daniël van Noord | 2023-02-05 | 1 | -1/+16 | |
| | ||||||
* | Create ``UninferableBase`` | Daniël van Noord | 2023-02-05 | 1 | -3/+3 | |
| | ||||||
* | Add support for custom import hooks (#1752) | Daniël van Noord | 2023-02-05 | 1 | -5/+1 | |
| | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | |||||
* | Revert CallContext change since it caused a RecursionError regression (#2000) | Marc Mueller | 2023-01-31 | 3 | -7/+12 | |
| | | | This reverts commit a0d219cb3403cda3338a14ce67a60954b4ff5cd7 (#1982). | |||||
* | Add Lock to multiprocessing (#1976) | Dani Alcala | 2023-01-31 | 1 | -0/+5 | |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | |||||
* | Add support for binary union types - Python 3.10 (#1977) | Marc Mueller | 2023-01-30 | 1 | -2/+116 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Capture unwanted output signaled in #1904. (#1978) | Ben Elliston | 2023-01-30 | 1 | -0/+47 | |
| | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | |||||
* | Skip recursion test on PyPy (#1987) | Marc Mueller | 2023-01-29 | 1 | -1/+9 | |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | Preserve parent CallContext when inferring nested functions (#1982) | Marc Mueller | 2023-01-29 | 2 | -7/+24 | |
| | ||||||
* | Fix PyPy ClassDef.fromlino with decorators (#1979) | Marc Mueller | 2023-01-28 | 2 | -21/+10 | |
| | ||||||
* | Fix issues with `typing_extensions.TypeVar` (#1973) | Marc Mueller | 2023-01-22 | 1 | -0/+32 | |
| | | | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Fix order of overwritten attributes in inherited dataclasses (#1970) | Daniël van Noord | 2023-01-17 | 1 | -4/+65 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Fix a false positive with user-defined `Enum` class (#1967) | Mark Byrne | 2023-01-15 | 1 | -0/+44 | |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | Do not require typing_extensions on Python 3.11 | Michal Vasilek | 2023-01-15 | 1 | -2/+5 | |
| | | | | | | | | 19878a55e61ce8788db530240dba9570706a5aac added an unconditional dependency on typing_extensions to fix tests with Python 3.10 3.11. This commit fixes this issue by only requiring typing_extensions on Python versions lower than 3.11 and using standard typing on Python 3.11 and newer. | |||||
* | Fix a regression in 2.13.2 where a ``RunTimeError`` could be raised ↵ | Pierre Sassoulas | 2023-01-10 | 2 | -1/+22 | |
| | | | | | | | | | | unexpectedly (#1959) * Add a unit test for broken __getattr__ in extension modules Co-authored-by: Florian Bruhin <me@the-compiler.org> Closes #1958 | |||||
* | Initial pass with ``pydocstringformatter`` over tests (#1949) | Daniël van Noord | 2023-01-09 | 29 | -252/+197 | |
| | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Support "is None" constraints from if statements during inference (#1189) | David Liu | 2023-01-06 | 1 | -0/+590 | |
| | | | | | | Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | Add ``regex`` brain (#1934) | Daniël van Noord | 2023-01-02 | 1 | -0/+48 | |
| | | | | Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | |||||
* | Make ``Arguments.defaults`` ``None`` for uninferable signatures (#1595) | Daniël van Noord | 2023-01-02 | 1 | -1/+1 | |
| | ||||||
* | Cache `ClassDef._metaclass_lookup_attribute` (#1932) | Jacob Walls | 2022-12-31 | 1 | -1/+8 | |
| | | | | | When linting import returns.result from the returns library, generates 93,315 cache hits to 443 misses, cutting the total linting time from 50s to 12s. Closes PyCQA/pylint#4750 | |||||
* | brain tip for numpy masked_invalid (#1931) | Dani Alcala | 2022-12-30 | 1 | -23/+18 | |
| | | | | | | | | | | | | | * brain tip for numpy masked_invalid * add unit test * refactor tests and update changelog * [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> | |||||
* | [pre-commit] Trying out black 23.1a1 (#1909) | Pierre Sassoulas | 2022-12-27 | 1 | -2/+1 | |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | |||||
* | Handle kw_only=True in dataclass fields | Daniël van Noord | 2022-12-27 | 1 | -0/+43 | |
| | ||||||
* | Handle init=False with defaults in dataclasses (#1898) | Daniël van Noord | 2022-12-27 | 1 | -0/+56 | |
| | ||||||
* | [pypy 3.8] Fix wrong line given by the ast for pypy 3.8 | Pierre Sassoulas | 2022-12-26 | 2 | -6/+17 | |
| | ||||||
* | Inference tip str.format transformation: handle AttributeError during ↵ | James Addison | 2022-12-15 | 1 | -0/+4 | |
| | | | | str.format template evaluation (#1903) | |||||
* | Handle properties in dataclasses correctly | Daniël van Noord | 2022-12-07 | 1 | -0/+69 | |
| | ||||||
* | Ignore DeprecationWarning from importing `nose` in test | Jacob Walls | 2022-11-20 | 1 | -2/+4 | |
| | ||||||
* | Fix uncaught ValueError in infer_getitem with zero-step slices (#1844) | Andrew Haigh | 2022-11-13 | 1 | -0/+10 | |
| | | | Fixes #1843 | |||||
* | Prevent a crash when inferring calls to `str.format` with invalid args (#1866) | Jacob Walls | 2022-11-12 | 1 | -0/+6 | |
| | ||||||
* | Infer the `length` argument of the `random.sample` function. (#1862) | Mark Byrne | 2022-11-04 | 1 | -0/+23 | |
| | | | Refs PyCQA/pylint#7706 | |||||
* | Prevent returning an empty list for `ClassDef.slots()` (#1861) | Mark Byrne | 2022-11-03 | 1 | -0/+20 | |
| | | | | | Prevent returning an empty list for `ClassDef.slots()` when the mro list contains one class & it is not `object`. Refs PyCQA/pylint#5099 Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> | |||||
* | Fix getattr inference with empty annotation assignments (#1834) | Marc Mueller | 2022-10-17 | 1 | -0/+16 | |
| | ||||||
* | Fix detecting invalid metaclasses (#1836) | Marc Mueller | 2022-10-17 | 1 | -0/+14 | |
| | | | Regression from #1678 | |||||
* | Prevent a crash when a module's ``__path__`` is missing | Jacob Walls | 2022-10-15 | 1 | -0/+9 | |
| | ||||||
* | Update the ``hashlib`` brain ``hash.digest`` & ``hash.hexdigest`` methods. ↵ | Mark Byrne | 2022-10-15 | 1 | -5/+25 | |
| | | | | | | | | | (#1827) * Add the ``length`` parameter to ``hash.digest`` & ``hash.hexdigest`` in the ``hashlib`` brain. * Move content in Changelog to a different section. Refs PyCQA/pylint#4039 | |||||
* | Add ``_value2member_map_`` member to the ``enum`` brain. (#1820) | Mark Byrne | 2022-10-08 | 1 | -0/+15 | |
| | | | Refs PyCQA/pylint#3941 | |||||
* | Fix regression in the creation of the ``__init__`` of dataclasses (#1812) | Daniël van Noord | 2022-10-04 | 1 | -0/+70 | |
| | | | Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | |||||
* | Remove unnecessary ``xfail`` from tests (#1813) | Daniël van Noord | 2022-10-01 | 1 | -1/+0 | |
| |