summaryrefslogtreecommitdiff
path: root/pylint/pyreverse
Commit message (Collapse)AuthorAgeFilesLines
* Change the attribute check for using hasattr instead of looking explicitly ↵Claudiu Popa2015-12-081-1/+1
| | | | into __dict__.
* Give a nice error message when Graphviz is not installed. Closes issue #168.Emile Anclin2015-12-081-0/+17
|
* Fix instances of unneeded-not in pylint's codebase.Claudiu Popa2015-11-251-1/+1
|
* Cleanup pylint issuesClaudiu Popa2015-11-211-4/+1
| | | | | | | | | | | This changeset also brings a couple of changes: * rrheaders and rcheaders are dropped from html_writer.Table's constructor. They weren't used at all and it was dead code. This simplified some if statements. * _is_attribute_property is used to look for a property assignment instead on relying on a different implementation.
* display properties as attributes in pyreverse class diagramspaceone2015-10-121-2/+13
|
* Bring parts of logilab.common.configuration and logilab.common.optik_ext ↵Claudiu Popa2015-09-011-2/+3
| | | | | | | | | | | | | | | | | into pylint.config The reason behind this is that we can better control the behaviour of the underlying configuration modules, such as the case for undefined options or for quickly fixing other bugs. Another side effect of this change is that it gets us closer to the moment where we will not be dependent on logilab.common anymore, which will definitely make our pytest users happy. Some parts were copied almost verbatim from logilab.common.configuration and logilab.common.optik_ext and pylint.config will definitely need a refactoring and reengineering for abstracting the configuration, so that we won't use optparse anymore, but that's subject for another patch.
* Remove trailing whitespaces and other pylint related issues.Claudiu Popa2015-08-251-1/+1
|
* Update pylint to use the new astroid AST names and methodsClaudiu Popa2015-08-253-16/+16
| | | | | | | Also improve a couple of imports and added support for the old visit_ names. Priority will have the old visit_ names, such as visit_discard over visit_expr, visit_callfunc over visit_call etc.
* Fix pylint warnings for the code imported from logilab-common.Claudiu Popa2015-08-182-5/+3
|
* Merged in The-Compiler/pylint/no-logilab-common (pull request #264)Claudiu Popa2015-08-183-4/+203
|\ | | | | | | [WIP] Get rid of logilab.common
| * Get rid of logilab.common.graph.no-logilab-commonFlorian Bruhin2015-07-261-2/+1
| |
| * Get rid of logilab.common.vcgutils.Florian Bruhin2015-07-262-1/+201
| | | | | | | | This is basically an 1:1 copy...
| * Get rid of logilab.common.compat.Florian Bruhin2015-07-261-1/+1
| |
* | Use astroid.YES instead of using it from astroid.bases (it was moved anyway)Claudiu Popa2015-08-111-1/+1
|/
* Fix bad whitespace.Claudiu Popa2015-07-031-1/+1
|
* New imported features from astroid into pyreverse.Claudiu Popa2015-07-034-13/+124
| | | | | | We moved pyreverse.inspector.Project, pyreverse.inspector.project_from_files and pyreverse.inspector.interfaces. These were moved since they didn't belong in astroid and they can be better maintained inside pyreverse itself.
* Fix the broken tests, since locals_types and instance_attr_types were ↵Claudiu Popa2015-06-201-6/+8
| | | | expected to be lists.
* Make sure that every frame used by pyreverse.inspect has a locals_type attributeClaudiu Popa2015-06-201-15/+18
| | | | | This patch calls visit_<node_type> whenever a frame doesn't have a `locals_type` attribute, most likely because it wasn't yet visited. Closes issue #543.
* Improve the readability of a function by using a defaultdict(set) instead of ↵Claudiu Popa2015-06-201-10/+4
| | | | manually checking if a node was already inferred.
* astroid.utils.LocalsVisitor was moved to pylint.pyreverse.LocalsVisitor.Claudiu Popa2015-06-173-3/+81
|
* Replace the license with what is already used in the project.Claudiu Popa2015-06-171-14/+13
|
* Import astroid inspector to pyreverse.inspector.Claudiu Popa2015-06-173-2/+270
|
* Move all package files to a pylint package.Ionel Cristian Maries2015-02-146-0/+940