summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a timeout parameter to Popen.communicate in PY3K.py3-communicateDavid Shea2015-07-301-1/+4
| | | | | Python 3.3 adds a timeout parameter to communicate(), so allow it if using Python 3.
* Remove trailing whitespace.Claudiu Popa2015-07-262-3/+3
|
* Class.getattr looks by default in the implicit and the explicit metaclasses, ↵Claudiu Popa2015-07-264-7/+146
| | | | | | which is `type` on Python 3. Closes issue #114.
* Remove the use of scandir. Unfortunately it's supported only by CPython.Claudiu Popa2015-07-262-3/+2
|
* Add get_wrapping_class API to scoped_nodes, which can be used to retrieve ↵Claudiu Popa2015-07-263-11/+22
| | | | the class that wraps a node.
* Some style cleanup.Claudiu Popa2015-07-251-3/+4
|
* MergeClaudiu Popa2015-07-259-18/+21
|\
| * Cleanup a test.Claudiu Popa2015-07-251-7/+5
| |
| * Remove the useless __docformat__ variable.Claudiu Popa2015-07-235-10/+0
| |
| * CR fixesRados?aw Ganczarek2015-07-252-5/+3
| |
| * Removing unnecessary dependencies from toxRados?aw Ganczarek2015-07-251-2/+0
| |
| * Proper argument nameRados?aw Ganczarek2015-07-252-7/+7
| |
| * Add option to search for all Python files in get_module_filesRados?aw Ganczarek2015-07-256-4/+23
| |
* | Simplify decorators.cache.Florian Bruhin2015-07-251-6/+7
| |
* | Remove __docformat__.Florian Bruhin2015-07-251-1/+0
| |
* | Add changelog entry.Florian Bruhin2015-07-251-0/+3
| |
* | Remove logilab-common dependency.Florian Bruhin2015-07-252-3/+1
| |
* | Remove pytest recommendation from README.Florian Bruhin2015-07-251-2/+1
| |
* | Get rid of logilab.common in doc example.Florian Bruhin2015-07-251-2/+2
| |
* | Fix get_module_files documentation in modutils.Florian Bruhin2015-07-251-3/+2
| |
* | get rid of logilab.common in modutils.Florian Bruhin2015-07-251-2/+12
| |
* | Use six.moves instead of logilab.common.compat.Florian Bruhin2015-07-251-1/+1
| |
* | Get rid of logilab.common.shellutils in test data.Florian Bruhin2015-07-255-22/+19
| | | | | | | | | | Instead of logilab.common.shellutils.ProgressBar we use astroid.node_classes.Name now.
* | Get rid of logilab.common in unittest_modutils.py.Florian Bruhin2015-07-251-17/+17
| | | | | | | | | | It was only used as an example package with subpackages - now we use xml.etree.ElementTree for those checks instead.
* | Get rid of astroid.common.decorators.Florian Bruhin2015-07-257-20/+83
|/ | | | | This also implements an easier @cache decorator and removes @classproperty as it only was used in an insignificant test.
* Patch astroid_cache in unittest_regrtest.setUp with the current builtins ↵Claudiu Popa2015-07-231-0/+1
| | | | module, to prevent crashes when it's missing during tests.
* do_import_module passes the proper relative_only flag if the level is higher ↵Claudiu Popa2015-07-143-10/+8
| | | | | | | | | than 1. This has the side effect that using `from .something import something` in a non-package will finally result in an import-error on Pylint's side. Until now relative_only was ignored, leading to the import of `something`, if it was globally available.
* Remove trailing whitespace.Claudiu Popa2015-07-111-1/+1
|
* Small cleanup brought to the test files.Claudiu Popa2015-07-113-57/+65
|
* Fix pylint issues.Claudiu Popa2015-07-113-3/+1
|
* Cleanup builder tests.Claudiu Popa2015-07-111-13/+16
|
* Add a new convenience API, `astroid.parse`.Claudiu Popa2015-07-1112-154/+165
| | | | | | This API can be used to retrieve an astroid AST from a source code string, similar to how ast.parse can be used to obtain a Python AST from a source string. This is the test_utils.build_module promoted to a public API.
* Cleanup builder.pyClaudiu Popa2015-07-112-65/+60
|
* Merged in davidshea/astroid/pygobject-require_version (pull request #78)Claudiu Popa2015-07-080-0/+0
|\ | | | | | | Duplicate calls to gi.require_version.
* | Ignore exceptions raised by gi.require_versionpygobject-require_versionDavid Shea2015-07-081-2/+6
| |
* | Duplicate calls to gi.require_version.David Shea2015-07-081-2/+30
|/ | | | | | | | gobject-introspection uses gi.require_version to choose which version of a library to import from gi.repository, and pygobject now issues a warning if gi.require_version is not used. Find calls to require_version and duplicate them in py2gi.py so that the version data is present in the context of the import.
* Understand metaclasses added with six.add_metaclass decorator. Closes issue ↵Claudiu Popa2015-07-073-1/+54
| | | | #129.
* Test Super.pytype, Super.display_type and Super.nameClaudiu Popa2015-07-071-0/+11
|
* Fix the body of namedtuple._replace: return the current self and don't ↵Claudiu Popa2015-07-062-5/+4
| | | | actually call self._make, since it's impossible to understand it.
* Move pyreverse specific modules and functionality back into pyreverseClaudiu Popa2015-07-036-212/+11
| | | | | We moved astroid.manager.Project and astroid.manager.Manager.project_from_files to pyreverse.inspector.
* Infer the unary method retrieved from classes.Claudiu Popa2015-07-032-2/+16
|
* Add new property name in the list of known property-like objects.Claudiu Popa2015-07-031-1/+3
|
* Add __enter__ and __exit__ for subprocess.Popen.Claudiu Popa2015-07-031-36/+46
|
* Fix pylint warnings.Claudiu Popa2015-07-021-3/+3
|
* Add ChangeLog entry for the last commit.Claudiu Popa2015-07-021-0/+2
|
* Update modutils.py from logilab.common and add support for namespace packagesClaudiu Popa2015-07-022-14/+31
| | | | | | This patch is mostly a backport from logilab.common. The addition is the support for pkg_resources.declare_namespace, which created a good deal of problems so far with regard to virtualenvs.
* Add support for inferring methods masquerading as others for the binop ↵Claudiu Popa2015-07-022-1/+16
| | | | protocols.
* Fix the name of the __pow__ protocol.Claudiu Popa2015-07-011-1/+1
|
* Remove trailing whitespace.Claudiu Popa2015-07-012-2/+2
|
* Add support for inferring subscript on instances, which will use ↵Claudiu Popa2015-07-014-3/+64
| | | | __getitem__. Closes issue #124.