From 08c8a88721a09272b9ff56ffa76dcd1e8a7c6889 Mon Sep 17 00:00:00 2001 From: Sijmen Schoon Date: Mon, 14 Nov 2016 11:22:14 +0100 Subject: [PATCH] Add travis pylint CI --- .travis.yml | 7 +++++++ app_service.py | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ec3213d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: python +python: ["3.5"] +install: + - "pip install -r requirements.txt" + - "pip install pylint" +script: + - "pylint app_service.py -E" diff --git a/app_service.py b/app_service.py index a9725b0..8041045 100644 --- a/app_service.py +++ b/app_service.py @@ -8,7 +8,6 @@ import html import json import logging import mimetypes -import sys from datetime import datetime from time import time from urllib.parse import unquote, quote, urlparse, parse_qs