diff --git a/mattermost_matchmaker/matchmaking.py b/mattermost_matchmaker/matchmaking.py
index c041f8baab38eb5cf48c9864d3dbd255b4692864..bb5cc0e08d3690203dd58ac7609746e0139298cd 100644
--- a/mattermost_matchmaker/matchmaking.py
+++ b/mattermost_matchmaker/matchmaking.py
@@ -1,7 +1,6 @@
-import copy
 import random
-from typing import Generator, Iterable, Tuple, List
-import mattermost
+from typing import Generator, Iterable, Tuple, Optional, List
+import mattermost  # type: ignore
 
 #pylint: disable=invalid-name
 
@@ -11,7 +10,7 @@ def random_nonrepeating_tuples(population: Iterable, n: int) -> Generator[tuple,
     Generates a random sequence of n-tuples, using every element in population only once
     """
 
-    population_copy = copy.copy(population)
+    population_copy = list(population)
     random.shuffle(population_copy)
 
     buffer = list()
@@ -52,7 +51,7 @@ def matching_in_channel(client: mattermost.MMApi, channel_id: str,
         client.create_post(channel_id=channel_id, message=left_out_message.format(user=user_data))
 
 
-def create_group(client: mattermost.MMApi, ids: Iterable[str]) -> None:
+def create_group(client: mattermost.MMApi, ids: Iterable[str]) -> str:
     """
     Creating a group-message for the group
     """
diff --git a/mattermost_matchmaker/run.py b/mattermost_matchmaker/run.py
index b3607e93cc12d728d2839b438bae38ece407cf8c..60aa5d5691b676d4a39eb51e7825737eb43d4a7c 100755
--- a/mattermost_matchmaker/run.py
+++ b/mattermost_matchmaker/run.py
@@ -1,6 +1,6 @@
 #!/usr/bin/env python3
 import argparse
-import mattermost
+import mattermost  # type: ignore
 from mattermost_matchmaker.matchmaking import matching_in_channel
 
 #pylint: disable=too-many-arguments
diff --git a/mypy.ini b/mypy.ini
new file mode 100644
index 0000000000000000000000000000000000000000..e1197170a8b1c105c44ec397fd13957375083245
--- /dev/null
+++ b/mypy.ini
@@ -0,0 +1,8 @@
+[mypy]
+
+[mypy-mattermost.*]
+ignore_missing_imports = True
+
+[mypy-pylint.*]
+ignore_missing_imports = True
+