diff --git a/.circleci/config.yml b/.circleci/config.yml index c39c608..ae33ee1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,6 +6,7 @@ orbs: # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/2.0/configuration-reference/#jobs jobs: + build_and_test: executor: python/default steps: @@ -13,8 +14,9 @@ jobs: - run: name: Install command: pip install .[tests] - # - python/install-packages: - # pkg-manager: pip + - run: + name: Type checking + command: mypy aukpy/ - run: name: Run tests command: python -m pytest diff --git a/pyproject.toml b/pyproject.toml index 46515ff..e687835 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,9 @@ dependencies = [ [project.optional-dependencies] tests = [ "black==22.6.0", - "pytest==7.1.2" + "pytest==7.1.2", + "mypy==0.971", + "pandas-stubs==1.4.3.220807" ] docs = [ "Sphinx==5.1.1",