From 2461e9722b5230df6e993afb5f377e53292fad59 Mon Sep 17 00:00:00 2001 From: Lars Date: Sat, 9 Aug 2014 10:48:03 +0200 Subject: [PATCH] PEP8 --- mappa/mappa/interfaces.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mappa/mappa/interfaces.py b/mappa/mappa/interfaces.py index bb5cd2d..698da3b 100644 --- a/mappa/mappa/interfaces.py +++ b/mappa/mappa/interfaces.py @@ -25,7 +25,6 @@ from tm.proto import Interface, Attribute from mappa import UCS, ANY -# pylint: disable-msg=E0213, E0211, W0622 class IConnection(Interface): """\ @@ -221,6 +220,7 @@ 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. @@ -228,6 +228,7 @@ class IItem(Interface): This interface has no meaning for the end user. """ + class IConstruct(IItem): """\ Base interface for all Topic Maps constructs used by Mappa. @@ -309,6 +310,7 @@ def __atomify__(): """ ) + class IReifiable(IConstruct): """\ Interface for all reifiable Topic Maps constructs (all constructs which @@ -324,6 +326,7 @@ class IReifiable(IConstruct): """ ) + class ITyped(IConstruct): """\ Interface for all typed Topic Maps constructs (association, role, @@ -338,6 +341,7 @@ class ITyped(IConstruct): """ ) + class IScoped(IConstruct): """\ Interface for all scoped Topic Maps constructs (association, @@ -353,6 +357,7 @@ class IScoped(IConstruct): """ ) + class ITopicMap(IConstruct, IReifiable): """\ Represents a TMDM topic map. @@ -577,6 +582,7 @@ def close(): """ ) + class ITopic(IConstruct): """\ Represents a TMDM topic. @@ -783,6 +789,7 @@ def __getitem__(name_or_occ): """ ) + class IAssociation(IScoped, ITyped, IReifiable): """\ Represents a TMDM association. @@ -884,6 +891,7 @@ def remove(): """ ) + class IRole(ITyped, IReifiable): """\ Represents a TMDM association role. @@ -899,6 +907,7 @@ def remove(): """ ) + class IDatatyped(IScoped, IReifiable): """\ Represents a Topic Maps construct which has a value and a datatype property. @@ -955,6 +964,7 @@ def __str__(): """ ) + class IOccurrence(IDatatyped, ITyped): """\ Represents a TMDM occurrence. @@ -966,6 +976,7 @@ def remove(): Removes this occurrence from its parent. """ + class IName(IScoped, ITyped, IReifiable): """\ Represents a TMDM topic name. @@ -1003,6 +1014,7 @@ def remove(): """ ) + class IVariant(IDatatyped): """\ Represents a TMDM variant.