Skip to content

Commit

Permalink
Fix Documentation sync, and static type test
Browse files Browse the repository at this point in the history
  • Loading branch information
dostuffthatmatters committed Jan 24, 2024
1 parent 733997e commit c23cd2d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Feel free to use it in any other project ✨
Install the Python library with:

```bash
poetry add tum_esm_utils
pdm add tum_esm_utils
# or
pip install tum_esm_utils
```
Expand All @@ -31,8 +31,8 @@ Use the API reference at [tum-esm-utils.netlify.app](https://tum-esm-utils.netli
Publish the Package to PyPI:

```bash
poetry build
poetry publish
pdm build
pdm publish
```

Open documentation page in dev mode
Expand Down
3 changes: 2 additions & 1 deletion tests/test_static_types.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import shutil
import sys

PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

Expand All @@ -17,5 +18,5 @@ def test_static_types() -> None:
for path in ["tests/", "tum_esm_utils/"]:
print(f"Checking {path} ...")
assert os.system(
f"cd {PROJECT_DIR} && .venv/bin/python -m mypy {path}"
f"cd {PROJECT_DIR} && {sys.executable} -m mypy {path}"
) == 0

0 comments on commit c23cd2d

Please sign in to comment.