| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add support for positional only arguments in astroid for python 3.8 | Claudiu Popa | 2019-07-09 | 4 | -1/+80 | |
| | | ||||||
| * | Grab the Constant value on Python 3.8+ | Claudiu Popa | 2019-07-07 | 1 | -1/+2 | |
| | | ||||||
| * | Grab only Constant strings for docstrings | Claudiu Popa | 2019-07-06 | 2 | -12/+19 | |
| | | ||||||
| * | Add test for extracting a doc to make sure we have it working on Python 3.8 | Claudiu Popa | 2019-07-06 | 1 | -0/+11 | |
| | | ||||||
| * | Fix formatting | Claudiu Popa | 2019-07-06 | 1 | -2/+4 | |
| | | ||||||
| * | Fix finding of docstring under python3.8 | Zbigniew Jędrzejewski-Szmek | 2019-07-06 | 1 | -2/+4 | |
| | | | | | | | | It is stored as a Constant, not a Str, so we the the value a bit differently. Fixes one test failure in https://github.com/gristlabs/asttokens/issues/28. | |||||
| * | Fix non-existing pytest --pyarg option (#682) | Thomas Hisch | 2019-07-05 | 1 | -1/+1 | |
| | | | | | Fixes a typo introduced in 18591e5e3e18026c770c48cbc044a77333231fc5 | |||||
| * | Merge pull request #680 from rogalski/as-string-code-formatting | Claudiu Popa | 2019-07-05 | 5 | -6/+10 | |
| |\ | | | | | Annotated AST follows PEP8 coding style when converted to string. | |||||
| | * | Annotated AST follows PEP8 coding style when converted to string. | Łukasz Rogalski | 2019-06-22 | 5 | -6/+10 | |
| |/ | ||||||
| * | Drop support for Python 3.4 | Claudiu Popa | 2019-06-20 | 6 | -12/+10 | |
| | | ||||||
| * | Make sure that node.expr points to a Name before calling looks_like_numpy_member | Claudiu Popa | 2019-06-20 | 1 | -0/+1 | |
| | | ||||||
| * | Maintain the same line number for decorators for Python 3.8+ | Claudiu Popa | 2019-06-04 | 1 | -4/+8 | |
| | | ||||||
| * | Adjust a line number test for Python 3.8 | Claudiu Popa | 2019-06-02 | 1 | -8/+2 | |
| | | ||||||
| * | Set the line number of decorated functions for python 3.8 | Claudiu Popa | 2019-06-02 | 1 | -1/+15 | |
| | | | | | | | | | | | Python 3.8 sets the line number of a decorated function to be the actual line number of the function, but the previous versions expected the decorator's line number instead. We reset the function's line number to that of the first decorator to maintain backward compatibility. It's not ideal but this discrepancy was baked into the framework for *years*. | |||||
| * | Fix lint errors | Claudiu Popa | 2019-06-02 | 2 | -9/+6 | |
| | | ||||||
| * | Replace _verify_duplicates_mro with _clean_duplicates_mro. | Peter de Blanc | 2019-06-02 | 3 | -12/+44 | |
| | | | | | | Only raise DuplicateBasesError if the first node is duplicated; otherwise remove all but the last instance of each duplicated node. | |||||
| * | Use the proper test index for a NamedExpr test | Claudiu Popa | 2019-06-02 | 1 | -1/+1 | |
| | | ||||||
| * | ``assert`` only functions are properly inferred as returning ``None`` | Claudiu Popa | 2019-06-02 | 3 | -1/+25 | |
| | | | | | Close #668 | |||||
| * | Merge pull request #664 from hippo91/bug_pylint_2721 | Claudiu Popa | 2019-06-02 | 20 | -1217/+1874 | |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deep rework of the numpy brain. The original brain has been split into numerous one. Each numpy brain module corresponds to a numpyone. There are: brain_numpy_core_fromnumeric => numpy.core.fromnumeric brain_numpy_core_function_base => numpy.core.function_base brain_numpy_core_multiarray => numpy.core.multiarray brain_numpy_core_numeric => numpy.core.numeric brain_core_numerictypes => numpy.core.numerictypes brain_core_umath => numpy.core.umath brain_numpy_random_mtrand => numpy.random.mtrand Last but not least, the numpy.ndarray class has its corresponding astroid's brain (brain_numpy_ndarray). The major improvement, besides a clearer organisation, is the fact that each method of the ndarray class should now be correctly inferred. Especially those returning ndarray objects. It has been made possible by ensuring that the return type of those methods is inferred as ndarray and nothing else. To achieve this, the inference_tip function has been used. When a numpy callable may return two different kinds of objects, for example bool or ndarray, the choice to prefer ndarray has been made in the corresponding astroid brain method. | |||||
| | * | Merge branch 'master' into bug_pylint_2721 | Claudiu Popa | 2019-06-02 | 12 | -11/+232 | |
| | |\ | ||||||
| | * \ | Merge branch 'master' into bug_pylint_2721 | hippo91 | 2019-06-01 | 2 | -28/+25 | |
| | |\ \ | ||||||
| | * | | | Deleting useless subTest mock for python version prior to 3.4 | hippo91 | 2019-05-25 | 8 | -192/+8 | |
| | | | | | ||||||
| | * | | | Avoid use of inference engine before it is fully set up. Add docstrings | hippo91 | 2019-05-25 | 1 | -2/+34 | |
| | | | | | ||||||
| | * | | | Deleting personal setup | hippo91 | 2019-05-25 | 1 | -3/+0 | |
| | | | | | ||||||
| | * | | | Merge branch 'bug_pylint_2721' of https://github.com/hippo91/astroid into ↵ | hippo91 | 2019-05-25 | 2 | -1/+8 | |
| | |\ \ \ | | | | | | | | | | | | | | | | bug_pylint_2721 | |||||
| | | * | | | Add the references to pylint bugs corrected | hippo91 | 2019-04-26 | 1 | -0/+6 | |
| | | | | | | ||||||
| | | * | | | Corrects the way a numpy member is identified | hippo91 | 2019-04-26 | 1 | -1/+1 | |
| | | | | | | ||||||
| | * | | | | Merge branch 'master' into bug_pylint_2721 | hippo91 | 2019-05-25 | 12 | -6/+127 | |
| | |\ \ \ \ | | |/ / / | |/| | | | ||||||
| | * | | | | Refomat according to black | hippo91 | 2019-04-21 | 15 | -99/+143 | |
| | | | | | | ||||||
| | * | | | | Refactor to make the introduction of new functions easier | hippo91 | 2019-04-21 | 1 | -19/+16 | |
| | | | | | | ||||||
| | * | | | | Factorize functions inference system | hippo91 | 2019-04-20 | 3 | -63/+48 | |
| | | | | | | ||||||
| | * | | | | Reformat for easier new function introduction | hippo91 | 2019-04-20 | 1 | -98/+32 | |
| | | | | | | ||||||
| | * | | | | Add definition for numpy.ones and numpy.zeros functions | hippo91 | 2019-04-20 | 4 | -0/+37 | |
| | | | | | | ||||||
| | * | | | | Add the function numpy.empty | hippo91 | 2019-04-20 | 2 | -0/+15 | |
| | | | | | | ||||||
| | * | | | | Add the __init__ method for datetime64and timedelta64 | hippo91 | 2019-04-20 | 2 | -2/+16 | |
| | | | | | | ||||||
| | * | | | | Add .python-version file and .vscode directory | hippo91 | 2019-04-20 | 3 | -1/+5 | |
| | | | | | | ||||||
| | * | | | | Add the tests concerning ndarray classic methods | hippo91 | 2019-04-20 | 1 | -1/+41 | |
| | | | | | | ||||||
| | * | | | | Rename brain_numpy module and associated unit test module | hippo91 | 2019-04-20 | 2 | -2/+2 | |
| | | | | | | ||||||
| | * | | | | Refactor in order to test the methods of ndarray | hippo91 | 2019-04-20 | 1 | -14/+49 | |
| | | | | | | ||||||
| | * | | | | Correct prototypes of 3 dunder methods. | hippo91 | 2019-04-20 | 1 | -3/+3 | |
| | | | | | | ||||||
| | * | | | | Merge branch 'master' into bug_pylint_2721 | hippo91 | 2019-04-13 | 6 | -8/+87 | |
| | |\ \ \ \ | ||||||
| | * | | | | | Add a unittest dedicated to the numpy_core_fromnumeric brain | hippo91 | 2019-04-07 | 1 | -0/+77 | |
| | | | | | | | ||||||
| | * | | | | | Typo. | hippo91 | 2019-04-07 | 2 | -2/+2 | |
| | | | | | | | ||||||
| | * | | | | | Add logspace et geomspace functions | hippo91 | 2019-04-07 | 1 | -1/+27 | |
| | | | | | | | ||||||
| | * | | | | | Reformat | hippo91 | 2019-04-07 | 1 | -11/+8 | |
| | | | | | | | ||||||
| | * | | | | | Split the unittest_brain_numpy module | hippo91 | 2019-04-07 | 3 | -12/+164 | |
| | | | | | | | ||||||
| | * | | | | | Check that functions return a ndarray | hippo91 | 2019-04-07 | 1 | -0/+26 | |
| | | | | | | | ||||||
| | * | | | | | Split the unittest_brain_numpy | hippo91 | 2019-04-07 | 4 | -305/+421 | |
| | | | | | | | ||||||
| | * | | | | | Changes uninferable return toward correct ones | hippo91 | 2019-04-07 | 1 | -65/+64 | |
| | | | | | | | ||||||
| | * | | | | | Split the unittest_brain_numpy module in parts so that each brain_numpy_* ↵ | hippo91 | 2019-04-06 | 3 | -94/+368 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | module has its own unittest module | |||||
