diff --git a/.flake8 b/.flake8 new file mode 100644 index 0000000..09513de --- /dev/null +++ b/.flake8 @@ -0,0 +1,3 @@ +[flake8] +max-line-length = 120 +ignore=C408,C815,A003 diff --git a/.travis.yml b/.travis.yml index ec028e6..8e3c1e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,9 @@ python: - '3.6' install: - - pip install -U pip setuptools pytest + - pip install -U pip setuptools + - pip install -U pytest flake8-tuple flake8-quotes flake8-comprehensions flake8-commas flake8-builtins -script: 'python setup.py test' +script: + - python setup.py test + - flake8 disco/