Commit e20083f98f5236eb21496655ee0081a9c08018a1
1 parent
dd6820bc
Exists in
master
and in
27 other branches
Fixed flake8
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
colab/plugins/gitlab/models.py
@@ -43,7 +43,7 @@ class GitlabGroup(models.Model): | @@ -43,7 +43,7 @@ class GitlabGroup(models.Model): | ||
43 | result = list() | 43 | result = list() |
44 | for project in projects: | 44 | for project in projects: |
45 | if self.path in project.namespace: | 45 | if self.path in project.namespace: |
46 | - result.append(project) | 46 | + result.append(project) |
47 | return result | 47 | return result |
48 | 48 | ||
49 | @property | 49 | @property |
colab/plugins/gitlab/tests/test_gitlab.py
@@ -2,7 +2,6 @@ | @@ -2,7 +2,6 @@ | ||
2 | Test User class. | 2 | Test User class. |
3 | Objective: Test parameters, and behavior. | 3 | Objective: Test parameters, and behavior. |
4 | """ | 4 | """ |
5 | -from datetime import datetime | ||
6 | from django.test import TestCase, Client | 5 | from django.test import TestCase, Client |
7 | from colab.plugins.gitlab.models import (GitlabProject, GitlabGroup, | 6 | from colab.plugins.gitlab.models import (GitlabProject, GitlabGroup, |
8 | GitlabIssue, GitlabComment, | 7 | GitlabIssue, GitlabComment, |