summaryrefslogtreecommitdiff
path: root/pyreverse
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2009-11-23 15:15:26 +0100
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2009-11-23 15:15:26 +0100
commit43e8f817074a0e2e865f4a061ba3956313ebe8e5 (patch)
tree75b8e46b8ecb0eda33e42eb5ad13167119990f7b /pyreverse
parent2269b04a72bab0e1d0a5e290a4facf5636509281 (diff)
downloadpylint-43e8f817074a0e2e865f4a061ba3956313ebe8e5.tar.gz
include Dotan Barak spell fixes patch
Diffstat (limited to 'pyreverse')
-rw-r--r--pyreverse/diadefslib.py2
-rw-r--r--pyreverse/diagrams.py6
-rw-r--r--pyreverse/main.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/pyreverse/diadefslib.py b/pyreverse/diadefslib.py
index 48e9f91..37f8321 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 32a4640..c8f41ad 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 e7e6ce4..bf39413 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