Fix flake8 and isort errors

Note, isort now has default behaviour of searching recursively so we no
longer need the `-rc` flag
This commit is contained in:
David McDonald
2021-03-08 15:36:23 +00:00
parent 2745fb70d8
commit 3e80ba4734
18 changed files with 32 additions and 32 deletions

View File

@@ -78,9 +78,7 @@ class OrganisationsClient(NotifyAdminAPIClient):
return self.get(url="/organisations/{}/services".format(org_id))
def remove_user_from_organisation(self, org_id, user_id):
endpoint = '/organisations/{}/users/{}'.format(
org_id=org_id,
user_id=user_id)
endpoint = '/organisations/{}/users/{}'.format(org_id, user_id)
data = _attach_current_user({})
return self.delete(endpoint, data)