aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-06 20:29:20 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-06 20:29:20 +0100
commit829443f256defc0c09bb7c8f3175651f4ee25a8e (patch)
treef20a03477e8d1b1fbeb72829aa2663f85ae5b101
parentLinting (diff)
Lint, and add "docker" tag to builds
-rw-r--r--.gitlab-ci.yml6
-rw-r--r--bot/__init__.py2
2 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0b7ffbc56..47a08a02a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,6 +20,9 @@ stages:
- build
test:
+ tags:
+ - docker
+
stage: test
cache:
paths:
@@ -31,6 +34,9 @@ test:
- pipenv run python -m flake8
build:
+ tags:
+ - docker
+
services:
- docker:dind
diff --git a/bot/__init__.py b/bot/__init__.py
index 8f870bdf6..0a2196674 100644
--- a/bot/__init__.py
+++ b/bot/__init__.py
@@ -1,6 +1,6 @@
import ast
-import os
import logging
+import os
import re
import sys
from logging import Logger, StreamHandler