Skip to content

style: apply lint fixes and improve formatting in scripts and docs#111

Merged
rnyb merged 2 commits into
mainfrom
lint-fixes
May 31, 2026
Merged

style: apply lint fixes and improve formatting in scripts and docs#111
rnyb merged 2 commits into
mainfrom
lint-fixes

Conversation

@rnyb

@rnyb rnyb commented May 29, 2026

Copy link
Copy Markdown
Collaborator
  • Update YAML formatting and action versions in test workflow
  • Fix typos and improve grammar in README
  • Reorder imports and adjust docstring formatting in Python scripts
  • Improve line wrapping and whitespace consistency
  • Remove unused variable and redundant imports

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR focuses on style/lint-driven cleanup across Python scripts, documentation, and CI configuration to improve consistency and readability.

Changes:

  • Reformat and modernize the GitHub Actions test workflow (indentation, caching, additional Ruff checks).
  • Apply formatting/import cleanups in Python scripts and adjust docstring/comment wrapping.
  • Fix typos/grammar in the README and improve wording.

Reviewed changes

Copilot reviewed 2 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sim2seis/bin/run_multi_pem.py Reorders imports and removes an unused import from open_petro_elastic.__main__.
README.md Fixes typos/grammar and refines the license section text/wording.
ert/bin/scripts/fm_xsect_wells.py Reorders imports and rewraps the DESCRIPTION text and a long comment.
ert/bin/scripts/fm_lgr.py Removes an unused variable and rewraps long string literals; updates expected test output strings.
.github/workflows/test.yml YAML formatting tweaks, enables pip caching, and adds ruff check.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread README.md Outdated
@rnyb
rnyb force-pushed the lint-fixes branch 3 times, most recently from 1f35e9a to 8edb54c Compare May 29, 2026 13:27
@rnyb
rnyb requested a review from Copilot May 29, 2026 13:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 5 changed files in this pull request and generated no new comments.

@rnyb
rnyb requested a review from alifbe May 29, 2026 13:59
rnyb added 2 commits May 31, 2026 13:04
- Update YAML formatting and action versions in test workflow
- Fix typos and improve grammar in README
- Reorder imports and adjust docstring formatting in Python scripts
- Improve line wrapping and whitespace consistency
- Remove unused variable and redundant imports
- Replace manual file open/close with context managers for safety
- Simplify boolean checks and variable names for clarity
- Fix typo in argument help string
- Remove redundant code and streamline file operations

@alifbe alifbe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me 🙏👍

@rnyb
rnyb merged commit 88c88f7 into main May 31, 2026
2 checks passed
@rnyb
rnyb deleted the lint-fixes branch May 31, 2026 19:02
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