Skip to content

Commit

Permalink
👷 Add type checking to the CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Nov 29, 2024
1 parent 127dc3c commit 33a029d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- isort
- black
- docs
- type-checking
# - flake8
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ envlist =
black
flake8
docs
type-checking
skip_missing_interpreters = true

[gh-actions]
Expand Down Expand Up @@ -54,6 +55,11 @@ extras = tests
skipsdist = True
commands = flake8 zgw_consumers tests testapp

[testenv:type-checking]
deps = -r{toxinidir}/type-checking.txt
skipsdist = True
commands = pyright --project pyright.pyproject.toml

[testenv:docs]
basepython=python
changedir=docs
Expand Down

0 comments on commit 33a029d

Please sign in to comment.