summaryrefslogtreecommitdiff
path: root/tests/unittest_inference.py
Commit message (Expand)AuthorAgeFilesLines
* Add additional guards for sixMarc Mueller2021-04-241-0/+12
* Enable checks for and fix useless suppressionPierre Sassoulas2021-04-191-3/+2
* Add an isort configuration in setup.cfg and apply itPierre Sassoulas2021-04-191-12/+7
* Fix issue #891Pierre Sassoulas2021-04-101-1/+1
* Upgrade copyrite noticePierre Sassoulas2021-02-281-0/+2
* Fix black issuesMarc Mueller2021-02-271-5/+11
* Revert "Updates two tests that deal with the number of visits and the context...hippo912021-02-211-3/+2
* Move from % syntax to format or f-stringsPierre Sassoulas2021-02-211-31/+23
* Remove the # coding, since PEP3120 the default is UTF8Pierre Sassoulas2021-02-211-1/+0
* Update copyright noticehippo912021-02-151-2/+4
* Move the unit test to unittest_brain because it needs sixhippo912021-02-121-28/+0
* The node.bases has not to be tweaked otherwise leads to false positive unused...hippo912021-02-121-0/+28
* Adds a test for property setterhippo912021-02-101-1/+10
* Merge branch 'master' into masterhippo912021-02-071-2/+101
|\
| * Add support of 'six.with_metaclass' (#841)Francis Charette Migneault2021-02-071-0/+84
| * Merge branch 'sum_and_multiply' of https://github.com/hippo91/astroidsum_and_multiplyhippo912021-01-231-2/+3
| |\
| | * Merge branch 'master' into sum_and_multiplyhippo912020-06-201-35/+382
| | |\
| | * | Updates two tests that deal with the number of visits and the context.pathhippo912019-12-301-2/+3
| * | | Fix a crash in inference caused by `Uninferable` container elementsClaudiu Popa2021-01-011-0/+14
* | | | Remove required_version for 3.6 and belowDavid Gilman2020-12-311-19/+0
* | | | Remove six from astroidDavid Gilman2020-12-301-16/+5
|/ / /
* | | New copyright noticeshippo912020-12-271-1/+5
* | | Merge pull request #858 from hippo91/fix_python39_newhippo912020-12-131-0/+29
|\ \ \
| * | | Thanks to the preceeding commit the inference is more precise for class decor...hippo912020-11-221-0/+29
* | | | Remove dependency on imp.Peter Kolbus2020-11-271-12/+0
|/ / /
* | | Skip test for | in dictionaries due to PEP-584 in Python 3.9+ (#829)Karthikeyan Singaravelan2020-09-141-2/+6
* | | Separate string and bytes classes patching (#807)Claudiu Popa2020-06-231-8/+4
* | | Squash one-off inference utility functions to help reduce recursion errors (#...Bryce Guinta2020-06-221-1/+1
| |/ |/|
* | Properly construct the arguments of infered property descriptors (#796)Claudiu Popa2020-05-281-0/+17
* | Protect against ``infer_call_result`` failing with `InferenceError` in `Super...Claudiu Popa2020-05-011-0/+28
* | Add missing copyright annotations for the past releasesClaudiu Popa2020-04-271-1/+7
* | ``BoundMethod.implicit_parameters`` returns a proper value for ``__new__``Claudiu Popa2020-03-261-0/+21
* | Allow `FunctionDef.getattr` to look into both instance attrs and special attr...Claudiu Popa2020-03-261-0/+16
* | Remove Python 2 specific testsClaudiu Popa2020-03-101-24/+0
* | Use pytest.xfail instead of unittest.expectedFailure to have a common decorat...Claudiu Popa2020-03-101-5/+5
* | Prevent a recursion error for self reference variables and `type()` calls.Claudiu Popa2020-03-101-0/+20
* | Add a new EvaluatedObject containerClaudiu Popa2020-03-101-4/+19
* | Prevent a recursion error to happen when inferring the declared metaclass of ...Claudiu Popa2020-03-071-0/+9
* | Do not infer the first argument of a staticmethod in a metaclass as the class...Claudiu Popa2020-03-071-0/+12
* | Raise ``AttributeInferenceError`` when ``getattr()`` receives an empty nameClaudiu Popa2020-03-061-0/+14
* | Cache the inference of FunctionDef to prevent property inference mutating localsClaudiu Popa2020-03-061-0/+22
* | Add support for converting Property objects to stringsClaudiu Popa2020-03-061-0/+23
* | Prevent a recursion error when inferring self-referential variables without d...Claudiu Popa2020-03-051-0/+17
* | Reverse the order of decorators for `infer_subscript`Claudiu Popa2020-03-051-0/+21
* | Verify the existence of datetime and date in ancestors instead of objectClaudiu Popa2020-03-031-1/+3
* | Better inference of class and static methods decorated with custom methodsClaudiu Popa2020-03-031-0/+78
* | Pass a context argument to ``astroid.Arguments`` to prevent recursion errorsClaudiu Popa2020-03-021-0/+11
* | Infer qualified ``classmethod`` as a classmethod. (#759)Claudiu Popa2020-02-271-0/+21
* | Use the parent of the node when inferring aug assign nodes instead of the sta...Claudiu Popa2020-01-051-0/+18
|/
* Make use of cache while transform builtin containersStanislav Levin2019-12-231-0/+14