diff options
-rw-r--r-- | .travis.yml | 15 | ||||
-rw-r--r-- | Pipfile | 3 | ||||
-rw-r--r-- | tox.ini | 2 |
3 files changed, 18 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..33ea1fa6 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,15 @@ +language: python + +python: + - "3.7" + +sudo: required + +services: + - docker + +install: + - pip install flake8 pipenv + - pipenv install --deploy + - pipenv run lint + - sh docker/build.sh @@ -18,4 +18,5 @@ name = "pypi" python_version = "3.7" [scripts] -start = "python -m bot"
\ No newline at end of file +start = "python -m bot" +lint = "flake8 bot" @@ -1,6 +1,6 @@ [flake8] max-line-length=120 -application_import_names=proj +application_import_names=bot ignore=P102,B311,W503,E226,S311 exclude=__pycache__, venv, .venv, tests import-order-style=pycharm |