Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | handle deprecation warnings when walking module members | Becker Awqatty | 2020-12-26 | 1 | -2/+5 | |
| | | | | | ||||||
* | | | | | Allow lazy-object-proxy >= 1.5.0 | Konrad Weihmann | 2020-12-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by allowing every version >= 1.4.0 Fixes #800 Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> | |||||
* | | | | | Add None check on inferred_node | Simon Hewitt | 2020-12-24 | 1 | -0/+1 | |
| | | | | | ||||||
* | | | | | Fix starred_assigned_stmts elts cast (introduced in d68f2935) | Vilnis Termanis | 2020-12-24 | 2 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | Don't replace elts (deque) used in loop with list | |||||
* | | | | | Allow wrapt 1.12 | Felix Mölder | 2020-12-24 | 2 | -2/+2 | |
|/ / / / | ||||||
* | | | | Merge pull request #858 from hippo91/fix_python39_new | hippo91 | 2020-12-13 | 7 | -5/+61 | |
|\ \ \ \ | | | | | | | | | | | Fix python39 | |||||
| * | | | | Remove tests environment 3.9 because it is not python3.9 is not yet available | hippo91 | 2020-12-13 | 1 | -3/+0 | |
| | | | | | ||||||
| * | | | | Add tests environment for python3.8 and python3.9 | hippo91 | 2020-12-13 | 1 | -0/+6 | |
| | | | | | ||||||
| * | | | | Formatting according to black | hippo91 | 2020-11-22 | 1 | -2/+3 | |
| | | | | | ||||||
| * | | | | Takes into account the fact that in python3.9 NamedTuple in typing module is ↵ | hippo91 | 2020-11-22 | 1 | -0/+19 | |
| | | | | | | | | | | | | | | | | | | | | no more a class but a function. | |||||
| * | | | | Adds an entry | hippo91 | 2020-11-22 | 1 | -0/+2 | |
| | | | | | ||||||
| * | | | | Adds python3.9 test | hippo91 | 2020-11-22 | 2 | -4/+6 | |
| | | | | | ||||||
| * | | | | Thanks to the preceeding commit the inference is more precise for class ↵ | hippo91 | 2020-11-22 | 1 | -0/+29 | |
| | | | | | | | | | | | | | | | | | | | | decorated with dataclasses | |||||
| * | | | | When inferring argument takes into account possible posonyargs before ↵ | hippo91 | 2020-11-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | raising 'too many positional arguments' | |||||
* | | | | | Merge pull request #857 from pkolbus/remove-imp | hippo91 | 2020-12-13 | 8 | -141/+115 | |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | Remove dependency on imp. Many thanks @pkolbus and @degustaf ! | |||||
| * | | | | | Remove dependency on imp. | Peter Kolbus | 2020-11-27 | 8 | -141/+115 | |
| |/ / / / | ||||||
* | | | | | Merge pull request #844 from timmartin/issue843 | hippo91 | 2020-12-12 | 3 | -1/+21 | |
|\ \ \ \ \ | |/ / / / |/| | | | | Fix incorrect MRO being calculated for scoped multiple inheritance | |||||
| * | | | | Merge branch 'master' into issue843 | Tim Martin | 2020-10-31 | 4 | -4/+7 | |
| |\ \ \ \ | |/ / / / |/| | | | | ||||||
* | | | | | Add changelog for memory fix | Raphael Gaschignard | 2020-10-28 | 1 | -0/+1 | |
| | | | | | ||||||
* | | | | | Explicitly return None on certain functions | Raphael Gaschignard | 2020-10-28 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | This fixes some `inconsistent-return-statement` pylint errors | |||||
* | | | | | Drop tracebacks on Astroid import errors for caches | Raphael Gaschignard | 2020-10-28 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, when there were import failures by Astroid, it would store the error in the module cache (for example a "module not found" error), including tracebacks. These tracebacks would take up a lot of memory, and don't seem to be used for any sort of purpose beyond debugging value. On one project stripping this value entirely reduces memory usage by 75%. | |||||
| * | | | | 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 | 3 | -1/+29 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 5 | -3/+8 | |
| | | | | | | | | | | | | Closes PyCQA/pylint#3387 | |||||
* | | | | Teach astroid about Hypothesis (#820) | Zac Hatfield-Dodds | 2020-09-14 | 2 | -0/+55 | |
| | | | | ||||||
* | | | | Add the value parameter in the signature of the __or__ method of the ndarray ↵ | hippo91 | 2020-09-14 | 2 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | class. | |||||
* | | | | Fix warning regarding ABC import from collections (#825) | Karthikeyan Singaravelan | 2020-09-14 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Skip test for | in dictionaries due to PEP-584 in Python 3.9+ (#829) | Karthikeyan Singaravelan | 2020-09-14 | 1 | -2/+6 | |
| | | | | ||||||
* | | | | Add comments and changelog entry (#830) | hippo91 | 2020-09-14 | 3 | -2/+10 | |
| | | | | ||||||
* | | | | Squash one-off inference utility functions to help reduce recursion errors ↵ | Bryce Guinta | 2020-06-23 | 4 | -1/+40 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#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 | 4 | -55/+108 | |
| | | | | | | | | | | | | Fixes PyCQA/pylint#3599 | |||||
* | | | | Squash one-off inference utility functions to help reduce recursion errors ↵ | Bryce Guinta | 2020-06-22 | 5 | -41/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | (#804) This also makes debugging a lot simpler reducing the complexity of the function stack. | |||||
* | | | | Fix exception causes all over the codebase (#806) | Ram Rachum | 2020-06-20 | 8 | -37/+39 | |
| |_|/ |/| | | ||||||
* | | | Fix exception causes in helpers.py | Ram Rachum | 2020-06-19 | 1 | -4/+4 | |
| | | | ||||||
* | | | Fix a crash caused by a lookup of a monkey-patched method (#803) | Claudiu Popa | 2020-06-16 | 3 | -2/+29 | |
| | | | | | | | | | | | | Close PyCQA/pylint#3686 | |||||
* | | | `FunctionDef.is_generator` properly handles `yield` nodes in `If` tests (#799) | Claudiu Popa | 2020-06-09 | 3 | -0/+22 | |
| | | | | | | | | | Close PyCQA/pylint#3583 | |||||
* | | | Prepare 2.4.2 | Claudiu Popa | 2020-06-08 | 1 | -1/+1 | |
| | | | ||||||
* | | | Add exception inference for `UnicodeDecodeError` (#797) | Claudiu Popa | 2020-05-29 | 3 | -0/+22 | |
| | | | | | | | | | Close PyCQA/pylint#3639 | |||||
* | | | Properly construct the arguments of infered property descriptors (#796) | Claudiu Popa | 2020-05-28 | 3 | -9/+45 | |
| | | | | | | | | | Close PyCQA/pylint#3648 | |||||
* | | | brain_mechanize: Add missing methods to transform (#794) | Peter Kolbus | 2020-05-28 | 2 | -2/+62 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The brain transform for mechanize was missing most methods for the Browser class, leading to false positives in pylint, such as: E1101: Instance of 'Browser' has no 'select_form' member (no-member) E1137: 'browser' does not support item assignment (unsupported-assignment-operation) Add missing methods to align with mechanize 0.4.5. Fixes #793. Co-authored-by: Claudiu Popa <pcmanticore@gmail.com> | |||||
* | | | Note the added parameters for subprocess.check_output(). | Peter Pentchev | 2020-05-28 | 1 | -0/+2 | |
| | | | ||||||
* | | | Add more supported parameters to ``subprocess.check_output()``. | Peter Pentchev | 2020-05-28 | 1 | -0/+10 | |
| | | | ||||||
* | | | Drop support for Python 2 in README | David Cain | 2020-05-21 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | It's 2020 and Python 2 has officially reached its EOL. Update the README to note that Python 2 is no longer officially supported by astroid. | |||||
* | | | Remove unneeded python2 test data | David Cain | 2020-05-21 | 60 | -547/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that astroid no longer supports Python 2, there's reason to keep this test data around. The `tests/testdata/python2` directory is not referenced at all, so we may safely delete it. It's perhaps just worth moving all of `testdata/python3` into a new directory, but this is a start. | |||||
* | | | Cleanup formatting errors | Claudiu Popa | 2020-05-14 | 1 | -3/+7 | |
| | | | ||||||
* | | | `FunctionDef.is_generator` properly handles `yield` nodes in `While` tests | Claudiu Popa | 2020-05-12 | 4 | -1/+28 | |
| | | | | | | | | | | | | Close PyCQA/pylint#3519 | |||||
* | | | Fix the new violations of super-without-arguments | Claudiu Popa | 2020-05-12 | 6 | -48/+44 | |
| | | | ||||||
* | | | Add brain for sqlalchemy.orm.session | Stefan Scherfke | 2020-05-12 | 2 | -0/+33 | |
| | | | ||||||
* | | | Released 2.4.1 | Claudiu Popa | 2020-05-05 | 1 | -1/+1 | |
| | | | ||||||
* | | | Protect against ``infer_call_result`` failing with `InferenceError` in ↵ | Claudiu Popa | 2020-05-01 | 3 | -1/+38 | |
| | | | | | | | | | | | | | | | | | | | | | | | | `Super.getattr()` (#782) ``infer_call_result`` can raise InferenceError but we were not handling that when retrieving objects from the Super instance. Close PyCQA/pylint#3529 |