Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mypy-ribasim-qgis to github actions #1078

Merged
merged 3 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/python_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ jobs:
- name: Run mypy on python/ribasim_api
run: |
pixi run mypy-ribasim-api
- name: Run mypy on ribasim_qgis
run: |
pixi run mypy-ribasim-qgis
6 changes: 5 additions & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ strict_concatenate = True
disallow_subclassing_any = True
disallow_untyped_decorators = True
disallow_any_generics = True
mypy_path=.pixi/env/Library/python:.pixi/env/share/qgis/python
mypy_path=.pixi/envs/default/Library/python:.pixi/envs/default/share/qgis/python

# Ignore errors for imported packages.
[mypy-console.*]
ignore_errors = True

[mypy-qgis.*]
ignore_errors = True
Expand Down
Loading