Commit 1d87b77c3ce95da0516dad779bbc6d603f5e28f6
Exists in
master
and in
27 other branches
Merge branch 'gitlab_plugin' into 'master'
Gitlab plugin - Fixing flake8 warnings See merge request !98
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, |