Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve performance of `looks_like_numpy_member()` (#2178) | Jacob Walls | 2023-05-14 | 1 | -18/+13 |
| | | | Avoids 32% of the calls to isinstance() when linting astroid | ||||
* | [PyCQA migration] Upgrade links to the repositories in code and doc | Pierre Sassoulas | 2023-03-29 | 1 | -2/+2 |
| | |||||
* | Some modifications for pep237 with pydocstringformatter (#1792) | Pierre Sassoulas | 2023-01-09 | 1 | -2/+3 |
| | | | Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Initial pass with ``pydocstringformatter`` | Daniël van Noord | 2023-01-09 | 1 | -4/+2 |
| | |||||
* | Fix crash if numpy doesn't have version (#1892) | Tushar Sadhwani | 2022-12-08 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * Fix crash if numpy doesn't have version * Add changelog entry * re run jobs * Update ChangeLog Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> | ||||
* | Add some InferenceContext annotations (#1883) | Nick Drozd | 2022-11-22 | 1 | -1/+2 |
| | |||||
* | Update typing for Python 3.7 (1) (#1555) | Marc Mueller | 2022-05-13 | 1 | -2/+3 |
| | |||||
* | Simplify hard to maintain copyright notice (#1441) | Pierre Sassoulas | 2022-03-12 | 1 | -8/+1 |
| | | | | | | | | | | | | | | * Simplify hard to maintain copyright notice git is the source of truth for the copyright, copyrite (the tool) was taking exponentially longer with each release, and it's polluting the code with sometime as much as 50 lines of names. * Add a pre-commit hook to check the copyright notice * Fix the existing file so they have a notice * Fix the spacing after the copyright notice * Add a script to generate the CONTRIBUTORS.txt Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com> | ||||
* | Bump astroid to 2.10.0, update changelogv2.10.0 | Pierre Sassoulas | 2022-02-27 | 1 | -0/+1 |
| | |||||
* | Bump astroid to 2.9.2, update changelogv2.9.2 | Alexander Shadchin | 2022-01-04 | 1 | -1/+1 |
| | |||||
* | Bump astroid to 2.9.1, update changelogv2.9.1 | Pierre Sassoulas | 2021-12-31 | 1 | -0/+1 |
| | |||||
* | Upgrade to pylint 2.12 and enable ``for_any_all`` checker (#1277) | Nick Drozd | 2021-11-27 | 1 | -7/+4 |
| | | | | | | | | * Enable for_any_all check * Upgrade to pylint 2.12 in pre-commit configuration * Fix new Pylint warnings * Upgrade the regex for Mixin Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> | ||||
* | Bug pylint 4326 (#1183) | hippo91 | 2021-10-05 | 1 | -0/+26 |
| | | | | | | | * Adds unittest dealing with class subscript * Adds support of type hints inside numpy's brains * Adds unit test to check astroid does not crash if numpy is not available | ||||
* | Remove use of deprecated node_classes and scoped_node API in astroid | Pierre Sassoulas | 2021-08-10 | 1 | -1/+1 |
| | |||||
* | Bump astroid to 2.6.4, update changelog | Pierre Sassoulas | 2021-07-20 | 1 | -1/+1 |
| | |||||
* | Bump astroid to 2.6.3, update changelogv2.6.3 | Pierre Sassoulas | 2021-07-19 | 1 | -0/+1 |
| | |||||
* | Fix copyright links (#1084) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | * Fix link in license header * Fix link to cpython | ||||
* | Import directly from modules in astroid.brain.* | Pierre Sassoulas | 2021-06-19 | 1 | -12/+9 |
| | |||||
* | Fix issue #891 | Pierre Sassoulas | 2021-04-10 | 1 | -1/+1 |
| | | | | Remove outdated COPYING and rename COPYING.LESSER | ||||
* | Prepare for 2.5.2 releaseastroid-2.5.2 | Pierre Sassoulas | 2021-03-28 | 1 | -0/+1 |
| | |||||
* | Reformats according to black | hippo91 | 2021-03-05 | 1 | -1/+4 |
| | |||||
* | "import numpy" has to be detected as a valid import of numpy | hippo91 | 2021-03-05 | 1 | -1/+1 |
| | |||||
* | Upgrade copyrite notice | Pierre Sassoulas | 2021-02-28 | 1 | -1/+1 |
| | |||||
* | Update copyright notice | hippo91 | 2021-02-15 | 1 | -1/+1 |
| | |||||
* | New copyright notices | hippo91 | 2020-12-27 | 1 | -1/+1 |
| | |||||
* | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -1/+2 |
| | |||||
* | Add a call to register_transform for each numpy function in case the current ↵ | hippo91 | 2020-01-05 | 1 | -2/+10 |
| | | | | | | | | | | | | node is an astroid.Name instance The problem was that astroid could not infer the result of a call to `numpy.append` because this function calls the `concatenate` function. This last function is inferred thanks to the `brain_numpy_core_multiarray` module but only when the corresponding node is an `astroid.Attribute` (for example numpy.concatenate). It turns out that in the source of the append function the node that realises the call to concatenate is a `astroid.Name`. Thus the correction proposed here is to register the concatenate inference tip function in order to apply it, also, to `astroid.Name`. Close #666 | ||||
* | Make sure that node.expr points to a Name before calling looks_like_numpy_member | Claudiu Popa | 2019-06-20 | 1 | -0/+1 |
| | |||||
* | Avoid use of inference engine before it is fully set up. Add docstrings | hippo91 | 2019-05-25 | 1 | -2/+34 |
| | |||||
* | Corrects the way a numpy member is identified | hippo91 | 2019-04-26 | 1 | -1/+1 |
| | |||||
* | Refomat according to black | hippo91 | 2019-04-21 | 1 | -3/+5 |
| | |||||
* | Factorize functions inference system | hippo91 | 2019-04-20 | 1 | -0/+21 |