[CLEANUP] Update workflows and environment#69
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This is a cleanup PR that modernizes the development environment by replacing pip-based dependency management with micromamba/conda workflows. The changes focus on updating GitHub Actions workflows and configuration files while also applying code formatting improvements.
- Updated GitHub Actions workflows to use micromamba with environment.yml
- Added conda environment configuration file
- Applied code formatting with Black (quote standardization and line wrapping)
Reviewed Changes
Copilot reviewed 12 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| seagliderOG1/writers.py | Code formatting: changed quotes and wrapped long log message |
| seagliderOG1/tools.py | Code formatting: standardized quotes, wrapped long lines, removed blank lines |
| seagliderOG1/convertOG1.py | Code formatting: standardized quotes, wrapped long lines, removed unused imports |
| requirements-dev.txt | Restructured to reference base requirements.txt and simplified version constraints |
| environment.yml | New conda environment configuration file |
| docs/source/conventions.md | New comprehensive coding conventions documentation |
| README.md | Enhanced with installation instructions, usage examples, and project structure |
| .github/workflows/tests.yml | Updated to use micromamba with environment.yml instead of pip |
| .github/workflows/docs_deploy.yml | Updated workflow to use micromamba environment |
| .github/workflows/docs.yml | Updated workflow to use micromamba environment |
| .github/PULL_REQUEST_TEMPLATE.md | Fixed broken link to coding conventions |
| .claude/settings.local.json | New Claude AI configuration file |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Updated workflows to use micromamba (with
environment.yml) instead of pip (withrequirements-dev.txt).Added
environment.ymlfor conda usage.Checklist:
pytestto check that all tests pass.pre-commit run --all-filesto lint and format the code.