Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use new style super when applicablesimplification-for-python3.6-code | Pierre Sassoulas | 2021-02-17 | 4 | -4/+4 |
| | |||||
* | Remove redundant open mode 'r' in opens | Pierre Sassoulas | 2021-02-17 | 2 | -3/+3 |
| | |||||
* | Remove old future import that are no longer required | Pierre Sassoulas | 2021-02-17 | 1 | -2/+0 |
| | |||||
* | Move from % syntax to format or f-strings | Pierre Sassoulas | 2021-02-17 | 13 | -103/+68 |
| | | | | This is possible with python 3.6 | ||||
* | Remove the # coding, since PEP3120 the default is UTF8 | Pierre Sassoulas | 2021-02-17 | 17 | -17/+1 |
| | |||||
* | Update copyright notice | hippo91 | 2021-02-15 | 25 | -13/+38 |
| | |||||
* | Move the unit test to unittest_brain because it needs six | hippo91 | 2021-02-12 | 2 | -28/+28 |
| | |||||
* | The node.bases has not to be tweaked otherwise leads to false positive ↵ | hippo91 | 2021-02-12 | 1 | -0/+28 |
| | | | | unused-import due to the fact that six.with_metaclass is not consumed. Adds a unittest to check that bases attribute holds a call node and that ancestors attributes returns the correct class hierarchy. | ||||
* | Adds a test for property setter | hippo91 | 2021-02-10 | 1 | -1/+10 |
| | |||||
* | Adds missing include | hippo91 | 2021-02-07 | 1 | -0/+1 |
| | |||||
* | Merge branch 'master' into master | hippo91 | 2021-02-07 | 5 | -7/+185 |
|\ | |||||
| * | Corrected the parent of function type comment nodes | Ashley Whetter | 2021-02-07 | 1 | -0/+13 |
| | | | | | | | | | | | | | | These nodes used to be parented to their original ast.FunctionDef parent but are now correctly parented to their astroid.FunctionDef parent. Closes #851 | ||||
| * | Add support of 'six.with_metaclass' (#841) | Francis Charette Migneault | 2021-02-07 | 1 | -0/+84 |
| | | | | | | Closes #713 | ||||
| * | Julien palard mdk/class getitem (#885) | hippo91 | 2021-01-24 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add missing __class_getitem__ to deque. * The __class_getitem__ method is added only for python versions above 3.9 * Adds two tests that ensure that __class_getitem__ method is not present for python versions prior to 3.9 but present for python versions above 3.9 * Reorganizes * Adds an entry * Add Julien Palard in copyright Co-authored-by: Julien Palard <julien@palard.fr> | ||||
| * | Merge branch 'sum_and_multiply' of https://github.com/hippo91/astroidsum_and_multiply | hippo91 | 2021-01-23 | 3 | -7/+8 |
| |\ | |||||
| | * | Merge branch 'master' into sum_and_multiply | hippo91 | 2020-06-20 | 87 | -962/+725 |
| | |\ | |||||
| | * \ | Merge branch 'master' into sum_and_multiply | hippo91 | 2019-12-30 | 1 | -0/+6 |
| | |\ \ | |||||
| | * | | | Corrects the use of numpy.multiply function | hippo91 | 2019-12-30 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Updates two tests that deal with the number of visits and the context.path | hippo91 | 2019-12-30 | 1 | -2/+3 |
| | | | | | |||||
| | * | | | Insures that numpy functions returning arrays are inferred only as array and ↵ | hippo91 | 2019-12-30 | 1 | -4/+2 |
| | | | | | | | | | | | | | | | | | | | | not [array, Uninferable] because it could lead to false negatives. | ||||
| | * | | | Add the test of functions add and multiply | hippo91 | 2019-12-28 | 1 | -0/+2 |
| | | | | | |||||
| * | | | | Merge pull request #883 from hippo91/bug_pylint_4001 | hippo91 | 2021-01-23 | 1 | -0/+36 |
| |\ \ \ \ | | | | | | | | | | | | | Bug pylint 4001 | ||||
| | * | | | | Formatting according to black | hippo91 | 2021-01-20 | 1 | -2/+2 |
| | | | | | | |||||
| | * | | | | Adds doc | hippo91 | 2021-01-19 | 1 | -0/+9 |
| | | | | | | |||||
| | * | | | | Adds unittest for brain_type module | hippo91 | 2021-01-18 | 1 | -0/+27 |
| | | | | | | |||||
| * | | | | | brain: Add `__class_getitem__` to `subprocess.Popen` starting from Python 3.9 | Damien Baty | 2021-01-18 | 1 | -0/+7 |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary for pylint to detect that `subprocess.Popen` is subscriptable, starting from Python 3.9 (see PyCQA/pylint#4034). $ python3.9 >>> import subprocess >>> subprocess.Popen.__class_getitem__ <bound method GenericAlias of <class 'subprocess.Popen'>> | ||||
| * | | | | ``is_generator`` correctly considers `Yield` nodes in `AugAssign` nodes | Claudiu Popa | 2021-01-01 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a false positive with the `assignment-from-no-return` pylint check. Close PyCQA/pylint#3904 | ||||
| * | | | | Fix a crash in inference caused by `Uninferable` container elements | Claudiu Popa | 2021-01-01 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | | Close #866 | ||||
* | | | | | Remove required_version for 3.6 and below | David Gilman | 2020-12-31 | 11 | -88/+0 |
| | | | | | | | | | | | | | | | | | | | | We are now guaranteed to be running on 3.6+ | ||||
* | | | | | Add tox support for six-less environments | David Gilman | 2020-12-31 | 1 | -0/+7 |
| | | | | | |||||
* | | | | | Remove six from astroid | David Gilman | 2020-12-30 | 5 | -48/+33 |
|/ / / / | |||||
* | | | | Fix a bug for dunder methods inference of function objects | Claudiu Popa | 2020-12-30 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | Fixes #819 | ||||
* | | | | Add the function random that is an alias of random_sample | hippo91 | 2020-12-29 | 1 | -0/+1 |
| | | | | |||||
* | | | | Adds the ufunc degrees and radians tests | hippo91 | 2020-12-29 | 1 | -0/+2 |
| | | | | |||||
* | | | | Back to original file after debugging session | hippo91 | 2020-12-28 | 1 | -2/+1 |
| | | | | |||||
* | | | | Adds debug msg | hippo91 | 2020-12-28 | 1 | -1/+2 |
| | | | | |||||
* | | | | New copyright notices | hippo91 | 2020-12-27 | 21 | -13/+27 |
| | | | | |||||
* | | | | Do not crash when encountering starred assignments in enums. | Claudiu Popa | 2020-12-26 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | Close #835 | ||||
* | | | | Merge pull request #858 from hippo91/fix_python39_new | hippo91 | 2020-12-13 | 1 | -0/+29 |
|\ \ \ \ | | | | | | | | | | | Fix python39 | ||||
| * | | | | Thanks to the preceeding commit the inference is more precise for class ↵ | hippo91 | 2020-11-22 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | | | | decorated with dataclasses | ||||
* | | | | | Merge pull request #857 from pkolbus/remove-imp | hippo91 | 2020-12-13 | 4 | -18/+23 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | Remove dependency on imp. Many thanks @pkolbus and @degustaf ! | ||||
| * | | | | | Remove dependency on imp. | Peter Kolbus | 2020-11-27 | 4 | -18/+23 |
| |/ / / / | |||||
* | | | | | Fix formatting regression | Tim Martin | 2020-10-16 | 1 | -9/+1 |
| | | | | | |||||
* | | | | | Fix incorrect MRO being calculated for scoped multiple inheritance | Tim Martin | 2020-10-13 | 1 | -0/+24 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | If a class inherits from two bases and the classes are expressed as a non-trivial expression such as qualified with a module name, classes after the first could not be inferred due to reusing the context object in _inferred_bases | ||||
* | | | | Adds ndarray as rtype for T attribute. | hippo91 | 2020-09-14 | 1 | -1/+1 |
| | | | | | | | | | | | | Closes PyCQA/pylint#3387 | ||||
* | | | | Skip test for | in dictionaries due to PEP-584 in Python 3.9+ (#829) | Karthikeyan Singaravelan | 2020-09-14 | 1 | -2/+6 |
| | | | | |||||
* | | | | Squash one-off inference utility functions to help reduce recursion errors ↵ | Bryce Guinta | 2020-06-23 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#804) This also makes debugging a lot simpler reducing the complexity of the function stack. | ||||
* | | | | Separate string and bytes classes patching (#807) | Claudiu Popa | 2020-06-23 | 2 | -8/+19 |
| | | | | | | | | | | | | Fixes PyCQA/pylint#3599 | ||||
* | | | | Squash one-off inference utility functions to help reduce recursion errors ↵ | Bryce Guinta | 2020-06-22 | 1 | -1/+1 |
| |_|/ |/| | | | | | | | | | | | | | | (#804) This also makes debugging a lot simpler reducing the complexity of the function stack. | ||||
* | | | Fix a crash caused by a lookup of a monkey-patched method (#803) | Claudiu Popa | 2020-06-16 | 1 | -0/+19 |
| | | | | | | | | | | | | Close PyCQA/pylint#3686 |