Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use new style super when applicablesimplification-for-python3.6-code | Pierre Sassoulas | 2021-02-17 | 1 | -1/+1 |
| | |||||
* | Remove IOError that are an alias to OSError see PEP3151 | Pierre Sassoulas | 2021-02-17 | 2 | -2/+2 |
| | |||||
* | Remove redundant open mode 'r' in opens | Pierre Sassoulas | 2021-02-17 | 1 | -1/+1 |
| | |||||
* | Remove old future import that are no longer required | Pierre Sassoulas | 2021-02-17 | 1 | -1/+0 |
| | |||||
* | Use set litteral when possible | Pierre Sassoulas | 2021-02-17 | 1 | -2/+2 |
| | |||||
* | Move from % syntax to format or f-strings | Pierre Sassoulas | 2021-02-17 | 11 | -114/+95 |
| | | | | This is possible with python 3.6 | ||||
* | Remove the # coding, since PEP3120 the default is UTF8 | Pierre Sassoulas | 2021-02-17 | 19 | -19/+0 |
| | |||||
* | Update copyright notice | hippo91 | 2021-02-15 | 41 | -12/+48 |
| | |||||
* | Prepare version 2.5 | hippo91 | 2021-02-15 | 1 | -1/+3 |
| | |||||
* | The node.bases has not to be tweaked otherwise leads to false positive ↵ | hippo91 | 2021-02-12 | 1 | -1/+0 |
| | | | | 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. | ||||
* | pylint + black formatting | hippo91 | 2021-02-10 | 1 | -15/+7 |
| | |||||
* | Adds docstring and reformat attr_fset method | hippo91 | 2021-02-10 | 1 | -11/+15 |
| | |||||
* | In the attr_fset method, retrieve the FunctionDef corresponding to setter ↵ | hippo91 | 2021-02-10 | 1 | -13/+20 |
| | | | | property and then infer the result of a call to this function | ||||
* | Back to original attr_fget definition | hippo91 | 2021-02-10 | 1 | -13/+1 |
| | |||||
* | Unify the way property arguments are declared | hippo91 | 2021-02-10 | 1 | -1/+13 |
| | |||||
* | Setting hard the arguments of method property setter | hippo91 | 2021-02-10 | 1 | -2/+13 |
| | |||||
* | Adds the attr_fset property | hippo91 | 2021-02-10 | 1 | -0/+22 |
| | |||||
* | Merge branch 'master' into master | hippo91 | 2021-02-07 | 9 | -8/+137 |
|\ | |||||
| * | Corrected the parent of function type comment nodes | Ashley Whetter | 2021-02-07 | 1 | -4/+4 |
| | | | | | | | | | | | | | | 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/+39 |
| | | | | | | Closes #713 | ||||
| * | Julien palard mdk/class getitem (#885) | hippo91 | 2021-01-24 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 2 | -4/+8 |
| |\ | |||||
| | * | Merge branch 'master' into sum_and_multiply | hippo91 | 2020-06-20 | 57 | -618/+1046 |
| | |\ | |||||
| | * \ | Merge branch 'master' into sum_and_multiply | hippo91 | 2019-12-30 | 1 | -0/+6 |
| | |\ \ | |||||
| | * | | | Turns the context.path from a set to a dict which values are the number of ↵ | hippo91 | 2019-12-30 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | times the node has been visited. The push method return True depending on a condition of the number of visits. | ||||
| | * | | | Adds two missing ufunc instances (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/+64 |
| |\ \ \ \ | | | | | | | | | | | | | Bug pylint 4001 | ||||
| | * | | | | Corrects a comment concerning node type as suggested by @PIerre-Sassoulas | hippo91 | 2021-01-23 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Defines PY39 variable | hippo91 | 2021-01-20 | 1 | -1/+4 |
| | | | | | | |||||
| | * | | | | Formatting according to black | hippo91 | 2021-01-20 | 1 | -8/+2 |
| | | | | | | |||||
| | * | | | | Adds doc | hippo91 | 2021-01-19 | 1 | -9/+36 |
| | | | | | | |||||
| | * | | | | Deletes unused import | hippo91 | 2021-01-19 | 1 | -3/+0 |
| | | | | | | |||||
| | * | | | | Adds a brain to mock the __class_getitem__ method on the `type` class (only ↵ | hippo91 | 2021-01-18 | 1 | -0/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | with python3.9) | ||||
| * | | | | | 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/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+2 |
| | | | | | | | | | | | | | | | | | | | | Close #866 | ||||
* | | | | | Remove Python 3.5 support | David Gilman | 2020-12-31 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | pytest very recently dropped support for it, and if we can't run our tests on the platform we can't really support it | ||||
* | | | | | Remove six from astroid | David Gilman | 2020-12-30 | 4 | -19/+5 |
|/ / / / | |||||
* | | | | Fix a bug for dunder methods inference of function objects | Claudiu Popa | 2020-12-30 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Fixes #819 | ||||
* | | | | Merge branch 'master' into bug_pylint_3856 | hippo91 | 2020-12-30 | 1 | -1/+16 |
|\ \ \ \ | |||||
| * | | | | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | | | | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | | | | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | | | | Update astroid/interpreter/_import/spec.py | hippo91 | 2020-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Taking into account @GergelyKalmar suggestion Co-authored-by: Gergely Kalmár <gergely.kalmar@logikal.jp> | ||||
| * | | | | Merge branch 'master' into fix_deprecated_importlib_methods | hippo91 | 2020-12-29 | 48 | -43/+100 |
| |\ \ \ \ | |||||
| * | | | | | Reformated according to black | hippo91 | 2020-12-24 | 1 | -1/+5 |
| | | | | | | |||||
| * | | | | | Adds copyright notice | hippo91 | 2020-12-24 | 1 | -0/+1 |
| | | | | | | |||||
| * | | | | | Adds docstring to the _precache_zipimporters function | hippo91 | 2020-12-24 | 1 | -0/+10 |
| | | | | | | |||||
| * | | | | | Changes the return value of the _precache_zipimporters function so that only ↵ | hippo91 | 2020-12-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | zipimporter instances are returned. | ||||
* | | | | | | Formatting according to black | hippo91 | 2020-12-29 | 1 | -2/+2 |
| | | | | | |