| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix typing in ``arguments.py`` (#1356) | Daniël van Noord | 2022-01-17 | 1 | -4/+3 |
| | | |||||
| * | Bump astroid to 2.9.2, update changelogv2.9.2 | Alexander Shadchin | 2022-01-04 | 1 | -1/+1 |
| | | |||||
| * | Bump astroid to 2.9.1, update changelogv2.9.1 | Pierre Sassoulas | 2021-12-31 | 1 | -0/+1 |
| | | |||||
| * | Add future=True to frame calls (#1305) | Tushar Sadhwani | 2021-12-29 | 1 | -1/+1 |
| | | | | | Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com> Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | ||||
| * | Fix all R6201: Consider using set for membership | Pierre Sassoulas | 2021-09-17 | 1 | -2/+2 |
| | | | | | Following the upgrade to pylint 2.11.1 | ||||
| * | Bump astroid to 2.7.3, update changelogv2.7.3 | Pierre Sassoulas | 2021-08-30 | 1 | -0/+1 |
| | | |||||
| * | Do not import entire module in astroid/arguments.py | Pierre Sassoulas | 2021-08-30 | 1 | -26/+25 |
| | | |||||
| * | Fixed inference bug with unbound inherited methods | David Liu | 2021-08-28 | 1 | -4/+8 |
| | | |||||
| * | Bump astroid to 2.6.4, update changelog | Pierre Sassoulas | 2021-07-20 | 1 | -1/+1 |
| | | |||||
| * | Bump astroid to 2.6.3, update changelogv2.6.3 | Pierre Sassoulas | 2021-07-19 | 1 | -0/+1 |
| | | |||||
| * | Fix copyright links (#1084) | Marc Mueller | 2021-07-01 | 1 | -1/+1 |
| | | | | | * Fix link in license header * Fix link to cpython | ||||
| * | Catch the StopIteration that result from PEP-479 or add default value in ↵ | Pierre Sassoulas | 2021-06-30 | 1 | -0/+6 |
| | | | | | | | | | | ``next`` (#1081) * Catch the StopIteration that result from PEP-479 StopIteration exceptions raised directly or indirectly in coroutines and generators are transformed into RuntimeError exceptions for python 3.7+. | ||||
| * | Import directly from modules in astroid.manager | Pierre Sassoulas | 2021-06-19 | 1 | -1/+4 |
| | | |||||
| * | Import exceptions from astroid.exceptions to avoid circular imports | Pierre Sassoulas | 2021-06-15 | 1 | -10/+11 |
| | | |||||
| * | Prepare for 2.5.4 releaseastroid-2.5.4 | Pierre Sassoulas | 2021-04-24 | 1 | -0/+1 |
| | | |||||
| * | Add an isort configuration in setup.cfg and apply it | Pierre Sassoulas | 2021-04-19 | 1 | -3/+1 |
| | | | | | Except on astroid/__init__.py because of circular imports | ||||
| * | Fix issue #891 | Pierre Sassoulas | 2021-04-10 | 1 | -1/+1 |
| | | | | | Remove outdated COPYING and rename COPYING.LESSER | ||||
| * | New copyright notices | hippo91 | 2020-12-27 | 1 | -0/+1 |
| | | |||||
| * | Fix incorrect error message formatting | Claudiu Popa | 2020-12-26 | 1 | -1/+1 |
| | | |||||
| * | When inferring argument takes into account possible posonyargs before ↵ | hippo91 | 2020-11-22 | 1 | -1/+1 |
| | | | | | raising 'too many positional arguments' | ||||
| * | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -1/+1 |
| | | |||||
| * | Pass a context argument to ``astroid.Arguments`` to prevent recursion errors | Claudiu Popa | 2020-03-02 | 1 | -13/+28 |
| | | | | | Close PyCQA/pylint#3414 | ||||
| * | Add support for inferring exception instances in all contexts | Claudiu Popa | 2019-11-17 | 1 | -1/+1 |
| | | | | | | | | | | | | We were able to infer exception instances as ``ExceptionInstance`` only for a handful of cases, but not all. ``ExceptionInstance`` has support for better inference of `.args` and other exception related attributes that normal instances do not have. This additional support should remove certain false positives related to ``.args`` and other exception attributes in ``pylint``. Close PyCQA/pylint#2333 | ||||
| * | Initial formatting of astroid | Claudiu Popa | 2018-10-02 | 1 | -38/+62 |
| | | |||||
| * | Update the copyright noticesastroid-2.0 | Claudiu Popa | 2018-07-15 | 1 | -2/+5 |
| | | |||||
| * | Fix inference for nested calls | Bryce Guinta | 2018-07-05 | 1 | -3/+7 |
| | | | | | | | | | | Add context_lookup to the context class as extra_context. Deliver the correct context with the correct boundnode for function argument nodes. Close #177 | ||||
| * | Fix useless-object-inheritance lint error (#573) | Nick Drozd | 2018-06-28 | 1 | -1/+1 |
| | | | | See https://github.com/PyCQA/pylint/pull/2209 | ||||
| * | Fix linting | Claudiu Popa | 2018-06-14 | 1 | -1/+1 |
| | | |||||
| * | Remove useless TODOs that are either issues in the issue tracker or things ↵ | Claudiu Popa | 2018-06-12 | 1 | -1/+1 |
| | | | | | which we'll never get to fix/change | ||||
| * | Replace some for statements with yield from | Claudiu Popa | 2018-05-31 | 1 | -1/+0 |
| | | |||||
| * | Remove six from a couple of files | Claudiu Popa | 2018-05-31 | 1 | -3/+1 |
| | | |||||
| * | pyupgrade (#549) | Anthony Sottile | 2018-05-22 | 1 | -1/+1 |
| | | |||||
| * | Even more granular copyrights (thanks to copyrite) | Claudiu Popa | 2016-07-22 | 1 | -2/+3 |
| | | |||||
| * | Keep a consistent copyright notice across the board. | Claudiu Popa | 2016-07-19 | 1 | -0/+2 |
| | | |||||
| * | Convert all files to new license header | Ceridwen | 2016-05-16 | 1 | -17/+3 |
| | | |||||
| * | Cleanup pylint's warnings over astroid codebase | Claudiu Popa | 2015-12-14 | 1 | -1/+2 |
| | | | | | | | | | | | Some of the messages were disabled in pylintrc, since they're not very useful for our case. Other parameters, such as the number of arguments / statements / attributes etc were configured so that they won't be too restrictive for our codebase, since making the code to respect them right now requires too much development changes, which is not justified by the end result. Closes issue #284. | ||||
| * | Merge upstream changes | Ceridwen | 2015-11-06 | 1 | -1/+11 |
| |\ | |||||
| | * | Merge upstream | Ceridwen | 2015-11-06 | 1 | -0/+10 |
| | |\ | |||||
| | | * | Fix pylint warnings. | Claudiu Popa | 2015-11-04 | 1 | -2/+2 |
| | | | | |||||
| | | * | Fix some inconsistencies with accessing the first argument of methods | Claudiu Popa | 2015-10-31 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | If the current class is a metaclass (inherits from `type`), then the first argument is always a class, not an instance. | ||||
| | * | | Rename Uninferable and instantiate_class, fix broken tests, improve | Ceridwen | 2015-11-06 | 1 | -12/+12 |
| | |/ | | | | | | | | | | | | | | | | | | | | | testing. * Rename YES to Uninferable * Rename instanciate_class to instantiate_class. * Use six in test_namedtuple_advanced_inference. * Fix test_file_from_module failure on PyPy. * Add enum34 to unittest_brain. * Add unittest_brain dependencies tox.ini. | ||||
| * | | Rename Uninferable and instatiate_class | Ceridwen | 2015-11-06 | 1 | -12/+12 |
| | | | |||||
| * | | This bookmark adds structured exceptions to astroid. | Ceridwen | 2015-11-02 | 1 | -6/+33 |
| |/ | | | | | | | | | | | | | | | | | | | Major changes: * AstroidError has an __init__ that accepts arbitrary keyword-only arguments for adding information to exceptions, and a __str__ that lazily uses exception attributes to generate a message. The first positional argument to an exception is assigned to .message. The new API should be fully backwards compatible in general. * Some exceptions are combined or renamed; the old names are still available. * The OperationErrors used by pylint are now BadOperationMessages and located in util.py. * The AstroidBuildingException in _data_build stores the SyntaxError in its .error attribute rather than args[0]. * Many places where exceptions are raised have new, hopefully more useful error messages. The only major issue remaining is how to propagate information into decorators. | ||||
| * | Make duplicated_kwargs a public API. | Claudiu Popa | 2015-10-08 | 1 | -4/+3 |
| | | |||||
| * | Change arguments.ArgumentsInference to arguments.CallSite | Claudiu Popa | 2015-10-07 | 1 | -26/+64 |
| | | | | | | | This new class can be used to obtain the already unpacked arguments and keyword arguments that a call site uses, which is especially useful when some of arguments are packed into Starred nodes. | ||||
| * | Change the signature of the ArgumentInference class to accept directly the ↵ | Claudiu Popa | 2015-10-07 | 1 | -7/+7 |
| | | | | | arguments and the keywords of a call site. | ||||
| * | Improve the understanding of arguments | Claudiu Popa | 2015-09-09 | 1 | -0/+193 |
| This changeset introduces a better way to understand arguments passed into call sites. The original logic was moved from astroid.context.CallContext, which become only a container for arguments and keyword arguments, to astroid.arguments.ArgumentInferator, a new class for understanding arguments. | |||||
