From b4278a0dfd1aaa1c95cc811aa15f3cf9ea4a54bc Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 23 Apr 2024 17:08:18 +0300 Subject: pylint: Fix linting errors. --- gn_auth/auth/authorisation/resources/models.py | 3 +-- gn_auth/auth/authorisation/resources/phenotype.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'gn_auth/auth/authorisation') diff --git a/gn_auth/auth/authorisation/resources/models.py b/gn_auth/auth/authorisation/resources/models.py index 9186380..9931559 100644 --- a/gn_auth/auth/authorisation/resources/models.py +++ b/gn_auth/auth/authorisation/resources/models.py @@ -15,8 +15,7 @@ from gn_auth.auth.authorisation.errors import NotFoundError, AuthorisationError from .checks import authorised_for from .base import Resource, ResourceCategory -from .groups.models import ( - Group, GroupRole, user_group, resource_owner, is_group_leader) +from .groups.models import Group, GroupRole, user_group, is_group_leader from .mrna import ( resource_data as mrna_resource_data, attach_resources_data as mrna_attach_resources_data, diff --git a/gn_auth/auth/authorisation/resources/phenotype.py b/gn_auth/auth/authorisation/resources/phenotype.py index 6af3b0a..7005db3 100644 --- a/gn_auth/auth/authorisation/resources/phenotype.py +++ b/gn_auth/auth/authorisation/resources/phenotype.py @@ -6,7 +6,6 @@ import sqlite3 import gn_auth.auth.db.sqlite3 as db -from .groups import Group from .base import Resource from .data import __attach_data__ -- cgit v1.2.3