Skip to content

PyGEMv1.0.3#109

Merged
btobers merged 7 commits into
masterfrom
dev
May 28, 2025
Merged

PyGEMv1.0.3#109
btobers merged 7 commits into
masterfrom
dev

Conversation

@btobers
Copy link
Copy Markdown
Collaborator

@btobers btobers commented May 28, 2025

Ruff linter and formatting rules in place in #62 . Documentation cleanup and updates in #108 . Several variables renamed in #108

btobers and others added 7 commits March 27, 2025 12:31
Closes #54.

This PR introduces the [Ruff](https://github.com/astral-sh/ruff) linter and formatter to check for errors and stylistic issues, including the pre-commit hook. Relevant changes are done in `pyproject.toml` and `test_suite.yml`. The rest of changes are due to applying the fixes. 

A few things to note:
- I updated contribution guidelines
- I added the ruff linting and formatting checks to the `test_suite.yml` workflow
- The maximum line length is set to 88 by default, which we can change if you'd prefer
- At the moment I ignored quite a few errors that couldn't be fixed automatically (see the `ignore` list in `pyproject.toml`) - I'll open a separate issue to address these. **Edit: opened #68** 
- I added `sample_data/` to `.gitignore`
Closes #102, #103, #106. 
The following variable names were updated:
ref_gcm_name -> ref_climate_name
gcm_name -> sim_climate_name
scenario -> sim_climate_scenario
gcm_startyear -> sim_startyear
gcm_endyear -> sim_endyear
Unused constants were removed from config.yaml
Latex equation formatting issues were fixed in mass balance mode documentation
Configuration file documentation was expanded upon and further clarified
System info requirements added to install documentation
PyGEM-notebooks test order enforced to avoid failured related to order notebooks are run in CLI testing workflow
@btobers btobers requested a review from drounce May 28, 2025 17:38
@btobers btobers self-assigned this May 28, 2025
@btobers btobers merged commit cf0090d into master May 28, 2025
2 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.

3 participants