diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-11-23 15:15:26 +0100 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-11-23 15:15:26 +0100 |
commit | 8746b95b65267dfa758174cd2de61719f7fb4697 (patch) | |
tree | 490da9d4b55bc43841ad96b78abb7eb5f40e980a /pyreverse | |
parent | 414e7a121c56301ea38978014ecf7a398e91530f (diff) | |
download | pylint-git-8746b95b65267dfa758174cd2de61719f7fb4697.tar.gz |
include Dotan Barak spell fixes patch
Diffstat (limited to 'pyreverse')
-rw-r--r-- | pyreverse/diadefslib.py | 2 | ||||
-rw-r--r-- | pyreverse/diagrams.py | 6 | ||||
-rw-r--r-- | pyreverse/main.py | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/pyreverse/diadefslib.py b/pyreverse/diadefslib.py index 48e9f9185..37f8321e5 100644 --- a/pyreverse/diadefslib.py +++ b/pyreverse/diadefslib.py @@ -41,7 +41,7 @@ class DiaDefGenerator: return title def _set_option(self, option): - """activate some options if not explicitely desactivated""" + """activate some options if not explicitly deactivated""" # if we have a class diagram, we want more information by default; # so if the option is None, we return True if option is None: diff --git a/pyreverse/diagrams.py b/pyreverse/diagrams.py index 32a464086..c8f41ad3d 100644 --- a/pyreverse/diagrams.py +++ b/pyreverse/diagrams.py @@ -42,7 +42,7 @@ class Relationship(Figure): class DiagramEntity(Figure): - """a diagram object, ie a label associated to an astng node + """a diagram object, i.e. a label associated to an astng node """ def __init__(self, title='No name', node=None): Figure.__init__(self) @@ -78,7 +78,7 @@ class ClassDiagram(Figure, FilterMixIn): raise KeyError(relation_type) def get_attrs(self, node): - """return visible attributs, possibly with class name""" + """return visible attributes, possibly with class name""" attrs = [] for node_name, ass_nodes in node.instance_attrs_type.items(): if not self.show_attr(node_name): @@ -135,7 +135,7 @@ class ClassDiagram(Figure, FilterMixIn): return [o for o in self.objects if isinstance(o.node, astng.Class)] def classe(self, name): - """return a klass by its name, raise KeyError if not found + """return a class by its name, raise KeyError if not found """ for klass in self.classes(): if klass.node.name == name: diff --git a/pyreverse/main.py b/pyreverse/main.py index e7e6ce452..bf39413d1 100644 --- a/pyreverse/main.py +++ b/pyreverse/main.py @@ -99,7 +99,7 @@ class PyreverseCommand(ConfigurationMixIn): self.run(args) def run(self, args): - """checking argmuents and run project""" + """checking arguments and run project""" if not args: print self.help() return |