Skip to content

Commit

Permalink
Merge pull request #75 from vluzko/ci-mypy
Browse files Browse the repository at this point in the history
Mypy CI attempt 1
  • Loading branch information
vluzko authored Aug 18, 2022
2 parents 658dadf + 69c8b8b commit d01af55
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ 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:
- checkout
- 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
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d01af55

Please sign in to comment.