Skip to content

Commit 866b28a

Browse files
committed
Add mypy and black to CI
1 parent b6374b4 commit 866b28a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ jobs:
2828
run: |
2929
pip install -e .[test]
3030
31+
- name: Formatting and type checking
32+
if: matrix.python-version == '3.11'
33+
run: |
34+
pip install mypy black
35+
black --check .
36+
mypy --strict .
37+
3138
- name: Run tests
3239
run: |
3340
pytest -v --cov=bayes_kit test/

0 commit comments

Comments
 (0)