diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..df88886 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +sudo: false +dist: trusty +language: python +python: + - "2.7" + - "3.4" + - "3.5" + - "3.6" +install: + - pip install -r requirements.txt +script: + - flake8 diff --git a/requirements.txt b/requirements.txt index c2e57d8..91ed4a0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ +flake8==3.3.0 sphinx -alabaster \ No newline at end of file +alabaster diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..1adee94 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,10 @@ +[flake8] +exclude = .git,__pycache__,docs/ +ignore = + # The default ignore list: + E121,E123,E126,E226,E24,E704, + # Our additions: + # E127: continuation line over-indented for visual indent + # E128: continuation line under-indented for visual indent + # E501: line too long + E127,E128,E501