From 328b75bef3addbd6f7561b25484bd850886d5117 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Fri, 11 Oct 2019 21:07:57 +0100 Subject: [PATCH] add circleci config --- .circleci/config.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..e332c95 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,25 @@ +version: 2 + +jobs: + build_and_test: + docker: + - image: circleci/python:latest + + steps: + - checkout + + # TODO FIXME switch to tox? + - run: pip3 install --user mypy pylint + + # TODO how to make it compatible + - run: python3 -m mypy --namespace-packages my + - run: python3 -m pylint -E my + # TODO need to keep full my_configuration.py as example? to dummy run CI + + + +workflows: + version: 2 + build_and_test: + jobs: + - build_and_test