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

Minor notebook cleanups to make TPI nb more consistent with OECM nb #68

Merged

Conversation

MichaelTiemannOSC
Copy link
Contributor

Minor notebook cleanups to make TPI notebook more consistent with OECM notebook.

Also commit changed to XLSX benchmark data (which is not formally used by ITR project, though it could be).

@MichaelTiemannOSC
Copy link
Contributor Author

MichaelTiemannOSC commented May 8, 2024

@ModeSevenIndustrialSolutions can you take a look at the failing black-nb and pydocstyle problems?

Somehow, also, the security-related build/audit is failing for reasons I don't understand.

…M notebook.

Also commit changed to XLSX benchmark data (which is not formally used by ITR project,
though it could be).

Update dependencies as pandas>=2.2 requires openpyxl>=3.1.0

Disable pydocstyle D100 in empty file make_dataset.py

Comment out black-nb until we have a better notebook linting tool.

Don't count empty files in coverage report.

Update versions for osc-ingest-tools, openscm-units, and iam-units.

Finish cleaning up tpi-cleanup changes.  We can now run both OECM and TPI benchmark notebooks.
An outstanding question: do we really need to create two separate venvs for tox
(one for `tests` and one for `notebooks`) or can we find a better way to control
how `pytest` is activated?

Add test_trivial.py so pytest can find it and CI/CD can pass.

Signed-off-by: Michael Tiemann <[email protected]>
incorporates devops changes to better control Jupyter Notebook tests.
From here on out, notebooks to be tested must be prefixed with test_
just like unit tests need a test_ prefix for pytest to run them.

Signed-off-by: Michael Tiemann <[email protected]>
@ModeSevenIndustrialSolutions ModeSevenIndustrialSolutions merged commit 8b15070 into os-climate:main May 14, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants