ci: invoke mypy during testing

This commit is contained in:
William Ballenthin
2021-06-14 10:41:53 -06:00
parent aca6ad2f52
commit 48756a7621

View File

@@ -17,6 +17,7 @@ jobs:
run: |
number=$(grep '\- *$' CHANGELOG.md | wc -l)
if [ $number != 1 ]; then exit 1; fi
code_style:
runs-on: ubuntu-20.04
steps:
@@ -32,6 +33,8 @@ jobs:
run: isort --profile black --length-sort --line-width 120 -c .
- name: Lint with black
run: black -l 120 --check .
- name: Check types with mypy
run: mypy --config-file .github/mypy/mypy.ini capa/ scripts/ tests/
rule_linter:
runs-on: ubuntu-20.04