Skip to content

Commit

Permalink
chore(ci): run mypy in the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kantord committed Jun 27, 2021
1 parent 2277cc6 commit c66e8e0
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,14 @@ blocks:
- pip install poetry
- poetry install
- poetry run black apps --check
- name: Python types (mypy)
commands:
- sem-version python 3.9
- checkout
- cache restore
- pip install poetry
- poetry install
- poetry run mypy apps
- name: PyPi readme
dependencies: []
task:
Expand Down
50 changes: 49 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ mkdocs-material = "^7.0.3"
mkdocs = "^1.1.2"
black = "^21.6b0"
mypy = "^0.910"
types-python-slugify = "^0.1.1"
types-PyYAML = "^5.4.3"
types-bleach = "^3.3.3"
types-Markdown = "^3.3.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

1 comment on commit c66e8e0

@vercel
Copy link

@vercel vercel bot commented on c66e8e0 Jun 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.