You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems to be a good way to use monkeytype for this:
pip install monkeytype
monkeytype run -m pytest linopy --doctest-modules test
monkeytype apply linopy.<module># see all modules with monkeytype list-modules
one needs to solve circular imports as well.
Afterwards we can add mypy to pre-commit
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.6.1 # Use the sha / tag you want to point at
hooks:
- id: mypy
The text was updated successfully, but these errors were encountered:
It seems to be a good way to use monkeytype for this:
one needs to solve circular imports as well.
Afterwards we can add mypy to pre-commit
The text was updated successfully, but these errors were encountered: