aboutsummaryrefslogtreecommitdiff
path: root/gn3/authentication.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-12-22 09:13:32 +0300
committerFrederick Muriuki Muriithi2021-12-24 14:36:15 +0300
commit672c1f2d43961feb59d9549557cb10c4f0b19dcf (patch)
treedd8eb8e83d0cdf4136f8d94e00f6ba578001ea3a /gn3/authentication.py
parent2d3b6eae6953d5e4b00f21b5ffd683271d0f76bc (diff)
downloadgenenetwork3-672c1f2d43961feb59d9549557cb10c4f0b19dcf.tar.gz
Fix linting errors
Diffstat (limited to 'gn3/authentication.py')
-rw-r--r--gn3/authentication.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gn3/authentication.py b/gn3/authentication.py
index a6372c1..4aedacd 100644
--- a/gn3/authentication.py
+++ b/gn3/authentication.py
@@ -163,3 +163,8 @@ def create_group(conn: Redis, group_name: Optional[str],
}
conn.hset("groups", group_id, json.dumps(group))
return group
+ # This might break stuff, but it fixes the linting error regarding
+ # inconsistent return types.
+ # @BonfaceKilz please review this and replace with appropriate return and
+ # remove these comments.
+ return None