Commit 58a28b5
Complete type annotations (#399)
* feat: Add type annotations to test_linear_expression.py
* refactor: Add type hints to test_model.py functions
* add type annotations to test files
* run mypy succesfully
* feat: Add type annotations to variables module
* complete type annotations, add disallow_untyped_defs to pyproject
* fix: import notimlementedtype from linopy.types
* reinsert py.typed
* Update linopy/constraints.py
Co-authored-by: Lukas Trippe <[email protected]>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* adress review comments
* move None out of DimsLike and CoordsLike
* fix: add pytest fixture
* make typealias python3.9 compatible
* follow up
* follow up
* follow up
* follow up
---------
Co-authored-by: Lukas Trippe <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent 6a788ac commit 58a28b5
File tree
37 files changed
+1559
-1145
lines changed- linopy
- test
37 files changed
+1559
-1145
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
39 | 37 | | |
40 | 38 | | |
41 | | - | |
42 | | - | |
43 | 39 | | |
0 commit comments