Skip to content

Commit 426cc98

Browse files
committed
Merge pull request #68 from FishHooks/master
Removed unused import statements
2 parents 5fb809a + e804239 commit 426cc98

15 files changed

+29
-42
lines changed

test/remote_lrs_test.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@
1515
import unittest
1616
import uuid
1717
from datetime import datetime
18-
from datetime import timedelta
1918
from calendar import timegm
20-
from pytz import utc, timezone
19+
from pytz import utc
2120

2221
if __name__ == '__main__':
2322
from main import setup_tincan_path
2423
setup_tincan_path()
25-
from tincan.base import Base
2624
from tincan.remote_lrs import RemoteLRS
2725
from tincan.lrs_response import LRSResponse
2826
from tincan.version import Version
@@ -34,7 +32,6 @@
3432
from tincan.agent import Agent
3533
from tincan.statement import Statement
3634
from tincan.context import Context
37-
from tincan.context_activities import ContextActivities
3835
from tincan.score import Score
3936
from tincan.group import Group
4037
from tincan.base import Base

tincan/activity.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
# limitations under the License.
1414

1515
from tincan.serializable_base import SerializableBase
16-
from tincan.language_map import LanguageMap
1716
from tincan.statement_targetable import StatementTargetable
1817
from tincan.activity_definition import ActivityDefinition
19-
from tincan.verb import Verb
2018

2119
"""
2220
.. module:: activity

tincan/activity_definition.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from tincan.serializable_base import SerializableBase
1616
from tincan.language_map import LanguageMap
1717
from tincan.extensions import Extensions
18-
from tincan.interaction_component import InteractionComponent
1918
from tincan.interaction_component_list import InteractionComponentList
2019

2120
"""

tincan/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ def account(self):
156156
"""Account for Agent
157157
158158
:setter: Tries to convert to Account
159-
:setter type: :mod:`tincan.agent_account`
160-
:rtype: :mod:`tincan.agent_account`
159+
:setter type: :class:`tincan.agent_account.AgentAccount`
160+
:rtype: :class:`tincan.agent_account.AgentAccount`
161161
162162
"""
163163
return self._account

tincan/attachment.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ def display(self):
161161
"""Display for Attachment
162162
163163
:setter: Tries to convert to LanguageMap
164-
:setter type: :mod:`tincan.language_map`
165-
:rtype: :mod:`tincan.language_map`
164+
:setter type: :class:`tincan.language_map.LanguageMap`
165+
:rtype: :class:`tincan.language_map.LanguageMap`
166166
167167
"""
168168
return self._display
@@ -182,8 +182,8 @@ def description(self):
182182
"""Description for Attachment
183183
184184
:setter: Tries to convert to LanguageMap
185-
:setter type: :mod:`tincan.language_map`
186-
:rtype: :mod:`tincan.language_map`
185+
:setter type: :class:`tincan.language_map.LanguageMap`
186+
:rtype: :class:`tincan.language_map.LanguageMap`
187187
188188
"""
189189
return self._description

tincan/context.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from tincan.agent import Agent
2020
from tincan.extensions import Extensions
2121
from tincan.context_activities import ContextActivities
22-
from tincan.version import Version
2322
from tincan.statement_ref import StatementRef
2423

2524
"""

tincan/context_activities.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from tincan.serializable_base import SerializableBase
1616
from tincan.activity_list import ActivityList
1717
from tincan.activity import Activity
18-
from tincan.version import Version
1918

2019

2120
class ContextActivities(SerializableBase):

tincan/documents/state_document.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from tincan.documents import Document
1515
from tincan.agent import Agent
1616
from tincan.activity import Activity
17-
import uuid
1817

1918

2019
class StateDocument(Document):

tincan/group.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from tincan.serializable_base import SerializableBase
1615
from tincan.agent import Agent
17-
from tincan.version import Version
1816
from tincan.agent_list import AgentList
1917

2018
"""
@@ -45,7 +43,7 @@ def addmember(self, value):
4543
"""Adds a single member to this group's list of members
4644
4745
:param value: The member to add to this group
48-
:type value: :mod:`tincan.agent`
46+
:type value: :class:`tincan.agent.Agent`
4947
5048
"""
5149

@@ -59,8 +57,8 @@ def member(self):
5957
"""Members for Group
6058
6159
:setter: Tries to convert to AgentList
62-
:setter type: :mod:`tincan.agent_list`
63-
:rtype: :mod:`tincan.agent_list`
60+
:setter type: :class:`tincan.agent_list.AgentList`
61+
:rtype: :class:`tincan.agent_list.AgentList`
6462
"""
6563
return self._member
6664

tincan/language_map.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# limitations under the License.
1414

1515
from tincan.serializable_base import SerializableBase
16-
from tincan.version import Version
1716

1817
"""
1918
.. module:: languagemap

0 commit comments

Comments
 (0)