| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add an isort configuration in setup.cfg and apply it | Pierre Sassoulas | 2021-04-19 | 1 | -4/+1 |
| | | | | | Except on astroid/__init__.py because of circular imports | ||||
| * | Fix legacy no-member by disabling the warning | Pierre Sassoulas | 2021-04-19 | 1 | -1/+4 |
| | | |||||
| * | Fix issue #891 | Pierre Sassoulas | 2021-04-10 | 1 | -1/+1 |
| | | | | | Remove outdated COPYING and rename COPYING.LESSER | ||||
| * | Prepare for 2.5.2 releaseastroid-2.5.2 | Pierre Sassoulas | 2021-03-28 | 1 | -0/+1 |
| | | |||||
| * | Upgrade copyrite notice | Pierre Sassoulas | 2021-02-28 | 1 | -1/+1 |
| | | |||||
| * | Update copyright notice | hippo91 | 2021-02-15 | 1 | -0/+1 |
| | | |||||
| * | New copyright notices | hippo91 | 2020-12-27 | 1 | -1/+2 |
| | | |||||
| * | 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%. | ||||
| * | Add missing copyright annotations for the past releases | Claudiu Popa | 2020-04-27 | 1 | -1/+4 |
| | | |||||
| * | Add a new ast_from_string method to AstroidManager | Anubhav | 2020-03-11 | 1 | -0/+7 |
| | | | | Close #725 | ||||
| * | Return a stub module instead of an import error for frozen modules | Ashley Whetter | 2020-01-11 | 1 | -0/+2 |
| | | |||||
| * | Avoid a call to `getcwd` if it is not needed | Raphael Gaschignard | 2019-11-26 | 1 | -2/+3 |
| | | | | When profiling locally, approximately 7% of a full pylint run is spent in `os.getcwd`, despite its value effectively not being used if `context_file` is `None`. A quick grep over this project and others seem to indicate that `context_file` is rarely used, so this should almost entirely get rid of this system call. | ||||
| * | Fix lint warnings | Claudiu Popa | 2019-10-11 | 1 | -0/+7 |
| | | |||||
| * | Clean new pylint errors from the codebase | Claudiu Popa | 2019-09-24 | 1 | -2/+2 |
| | | |||||
| * | Allow importing wheel files. Close #541 | Claudiu Popa | 2019-07-11 | 1 | -1/+4 |
| | | |||||
| * | Make the astroid bootstrapping take care of builtins such as Generator | Claudiu Popa | 2019-01-20 | 1 | -8/+12 |
| | | | | | | | | | | | | | | | Currently the astroid bootstrapping function, which builds the builtins module and relevant builtin objects, does not rebuild objects such as generators. This is causing a problem when the cache is cleared, e.g. from pylint's side, given that objects such as generator will not be present any longer in the builtins module created *after* the cache was cleared with MANAGER.cache_clear(). This behaviour was making that function useless from this point of view. The new change instead makes sure to build everything in the same function. Close #446 | ||||
| * | Add a method to the manager to retrieve the builtins module | Claudiu Popa | 2019-01-19 | 1 | -0/+4 |
| | | |||||
| * | Initial formatting of astroid | Claudiu Popa | 2018-10-02 | 1 | -45/+80 |
| | | |||||
| * | Update the copyright noticesastroid-2.0 | Claudiu Popa | 2018-07-15 | 1 | -2/+8 |
| | | |||||
| * | Don't allow max_inferable to be set by an environment variable. | Claudiu Popa | 2018-07-06 | 1 | -2/+1 |
| | | | | | | | | | This would introduce a new method of configuring astroid & pylint, while the usual approach we used so far was to set a flag in the MANAGER itself it we'd need to customize some behaviour (extension_package_whitelist and friends). Also renamed the flag to `max_inferable_values` to be more suggestive on what it does. | ||||
| * | Limit inference to a maximum of 100 results at a time to prevent | Bryce Guinta | 2018-07-06 | 1 | -0/+2 |
| | | | | | | | | | | | spot performance issues. Add new envrionment variable call ASTROID_MAX_INFERABLE to tune the max inferable amount of values at a time. Close #579 Close PyCQA/pylint#2251 | ||||
| * | 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 unused import | Claudiu Popa | 2018-05-31 | 1 | -1/+0 |
| | | |||||
| * | Fix lint errors | Claudiu Popa | 2018-05-31 | 1 | -6/+3 |
| | | |||||
| * | Just reraise the same value, no need for raise from | Claudiu Popa | 2018-05-31 | 1 | -1/+1 |
| | | |||||
| * | Remove reraise() in favour of using raise..from | Claudiu Popa | 2018-05-31 | 1 | -18/+17 |
| | | |||||
| * | Remove six from a couple of files | Claudiu Popa | 2018-05-31 | 1 | -4/+1 |
| | | |||||
| * | Fix lint errors | Bryce Guinta | 2018-01-28 | 1 | -7/+0 |
| | | | | | Removes an abundance of useless-supression errors | ||||
| * | Variable name is found_spec, not spec (#422) | Iva Miholic | 2017-04-21 | 1 | -1/+1 |
| | | |||||
| * | Fix lintastroid-1.5.2 | Claudiu Popa | 2017-04-17 | 1 | -1/+0 |
| | | |||||
| * | Remove pylint errors | Derek Gustafson | 2016-12-03 | 1 | -0/+8 |
| | | |||||
| * | Move the spec finder under a new namespace, interpreter._import. | Claudiu Popa | 2016-08-24 | 1 | -12/+20 |
| | | |||||
| * | Even more granular copyrights (thanks to copyrite) | Claudiu Popa | 2016-07-22 | 1 | -2/+5 |
| | | |||||
| * | 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 |
| | | |||||
| * | Build a dummy module object for namespace directories and add a test for ↵ | Claudiu Popa | 2016-05-09 | 1 | -0/+6 |
| | | | | | multiple directories contributing to the same namespace. | ||||
| * | Switch to a spec finder protocol for finding files or packages | Claudiu Popa | 2016-05-08 | 1 | -10/+10 |
| | | |||||
| * | AstroidBuildingException is now AstroidBuildingError. | Claudiu Popa | 2015-12-06 | 1 | -9/+9 |
| | | | | | The first name will exist until astroid 2.0. | ||||
| * | Add two new exceptions, AstroidImportError and AstroidSyntaxError. | Claudiu Popa | 2015-12-06 | 1 | -6/+6 |
| | | | | | | | | | They are subclasses of AstroidBuildingException and are raised when a module can't be imported from various reasons. Also do_import_module lets the errors to bubble up without converting them to InferenceError. This particular conversion happens only during the inference. | ||||
| * | Merge upstream changes | Ceridwen | 2015-11-06 | 1 | -1/+1 |
| |\ | |||||
| | * | Rename Uninferable and instantiate_class, fix broken tests, improve | Ceridwen | 2015-11-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | 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 | -1/+1 |
| | | | |||||
| * | | This bookmark adds structured exceptions to astroid. | Ceridwen | 2015-11-02 | 1 | -21/+28 |
| |/ | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Remove doctype and future imports which aren't useful. | Claudiu Popa | 2015-10-11 | 1 | -1/+0 |
| | | |||||
| * | Fix pylint errors. | Claudiu Popa | 2015-09-26 | 1 | -3/+3 |
| | | |||||
| * | Add helper function for reraising exceptions | Ceridwen | 2015-09-21 | 1 | -18/+7 |
| | | |||||
| * | Use six.reraise to avoid losing tracebacks for simple cases | Ceridwen | 2015-09-21 | 1 | -7/+26 |
| | | |||||
| * | Add deprecation warnings tests | Ceridwen | 2015-08-22 | 1 | -1/+0 |
| | | |||||
| * | Merge main into default | Ceridwen | 2015-08-14 | 1 | -64/+36 |
| |\ | |||||
