Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars authored and Lars committed Aug 9, 2014
1 parent 30438a5 commit 2461e97
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion mappa/mappa/interfaces.py
Expand Up @@ -25,7 +25,6 @@
from tm.proto import Interface, Attribute
from mappa import UCS, ANY

# pylint: disable-msg=E0213, E0211, W0622

class IConnection(Interface):
"""\
Expand Down Expand Up @@ -221,13 +220,15 @@ def write(iri, out, base=None, format='xtm', encoding=None, version=None, **kw):
This attribute is read-only.
""")


class IItem(Interface):
"""\
The smallest entity in the Mappa world.
This interface has no meaning for the end user.
"""


class IConstruct(IItem):
"""\
Base interface for all Topic Maps constructs used by Mappa.
Expand Down Expand Up @@ -309,6 +310,7 @@ def __atomify__():
"""
)


class IReifiable(IConstruct):
"""\
Interface for all reifiable Topic Maps constructs (all constructs which
Expand All @@ -324,6 +326,7 @@ class IReifiable(IConstruct):
"""
)


class ITyped(IConstruct):
"""\
Interface for all typed Topic Maps constructs (association, role,
Expand All @@ -338,6 +341,7 @@ class ITyped(IConstruct):
"""
)


class IScoped(IConstruct):
"""\
Interface for all scoped Topic Maps constructs (association,
Expand All @@ -353,6 +357,7 @@ class IScoped(IConstruct):
"""
)


class ITopicMap(IConstruct, IReifiable):
"""\
Represents a TMDM topic map.
Expand Down Expand Up @@ -577,6 +582,7 @@ def close():
"""
)


class ITopic(IConstruct):
"""\
Represents a TMDM topic.
Expand Down Expand Up @@ -783,6 +789,7 @@ def __getitem__(name_or_occ):
"""
)


class IAssociation(IScoped, ITyped, IReifiable):
"""\
Represents a TMDM association.
Expand Down Expand Up @@ -884,6 +891,7 @@ def remove():
"""
)


class IRole(ITyped, IReifiable):
"""\
Represents a TMDM association role.
Expand All @@ -899,6 +907,7 @@ def remove():
"""
)


class IDatatyped(IScoped, IReifiable):
"""\
Represents a Topic Maps construct which has a value and a datatype property.
Expand Down Expand Up @@ -955,6 +964,7 @@ def __str__():
"""
)


class IOccurrence(IDatatyped, ITyped):
"""\
Represents a TMDM occurrence.
Expand All @@ -966,6 +976,7 @@ def remove():
Removes this occurrence from its parent.
"""


class IName(IScoped, ITyped, IReifiable):
"""\
Represents a TMDM topic name.
Expand Down Expand Up @@ -1003,6 +1014,7 @@ def remove():
"""
)


class IVariant(IDatatyped):
"""\
Represents a TMDM variant.
Expand Down

0 comments on commit 2461e97

Please sign in to comment.