diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..e8fde0ee69 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +sudo: false + language: python + python: + - "2.7" + install: + - pip install -r requirements.txt + - pip install flake8==3.5.0 pylint==1.8.2 + script: + - flake8 esphomeyaml + - pylint esphomeyaml diff --git a/setup.cfg b/setup.cfg index b88034e414..4cabe91812 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,6 @@ [metadata] description-file = README.md + +[flake8] +max-line-length = 120 +builtins = unicode, long, raw_input