summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.flake86
-rw-r--r--.travis.yml7
-rw-r--r--requirements.txt1
3 files changed, 14 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000..5f68dc3
--- /dev/null
+++ b/.flake8
@@ -0,0 +1,6 @@
+[flake8]
+# E501: line length
+# E302: blank lines
+# E127: continuation indent
+ignore = E501,E302,E127
+exclude = .git,venv
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..5df471f
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,7 @@
+language: python
+python:
+ - "3.6"
+install:
+ - pip install -r requirements.txt
+script:
+ - flake8
diff --git a/requirements.txt b/requirements.txt
index 0d53cea..8b53cce 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,3 +3,4 @@ Jinja2~=2.9.6
lxml~=3.8.0
Pillow~=4.2.1
requests~=2.18.4
+flake8~=3.5.0