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

Completes the remainder of the code quality work #179

Merged
merged 13 commits into from
Mar 27, 2025

Conversation

ESadek-MO
Copy link
Contributor

@ESadek-MO ESadek-MO commented Dec 2, 2024

Resolves most of #155, save for filterwarnings (#177).
Closes #174.

@ESadek-MO ESadek-MO force-pushed the code-quality-strands2 branch from 07a3ab2 to 1acf396 Compare December 2, 2024 17:24
@ESadek-MO ESadek-MO marked this pull request as ready for review December 2, 2024 17:25
Copy link

@scitools-ci scitools-ci bot left a comment

Choose a reason for hiding this comment

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

Copy link

@scitools-ci scitools-ci bot left a comment

Choose a reason for hiding this comment

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

Copy link

@scitools-ci scitools-ci bot left a comment

Choose a reason for hiding this comment

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

Copy link

@scitools-ci scitools-ci bot left a comment

Choose a reason for hiding this comment

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

Please see SciTools/.github#50

Copy link

@scitools-ci scitools-ci bot left a comment

Choose a reason for hiding this comment

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

Please see SciTools/.github#51

scitools-ci[bot]
scitools-ci bot previously requested changes Mar 24, 2025
Copy link

@scitools-ci scitools-ci bot left a comment

Choose a reason for hiding this comment

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

Please see SciTools/.github#52

@ukmo-ccbunney ukmo-ccbunney self-requested a review March 26, 2025 10:16
Copy link

@ukmo-ccbunney ukmo-ccbunney left a comment

Choose a reason for hiding this comment

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

Looks good, but I think you can get rid of these ignore entries from [tool.repo-review] now (GH212, PC170 and PC901):

https://github.com/ESadek-MO/tephi/blob/0576fb0ecdfdc5e2319166ec7ac4f7575b862a48/pyproject.toml#L133-L140

(Sorry for the link, but GitHub won't let me apply comments to lines you have not modified in your PR in the review)

Also, is there a reason you didn't add the filterwarnings=["error"] to the pytest ini?
It's currently an sp-repo-review suggestion (PP309) that you have in your ignore list.

@ESadek-MO
Copy link
Contributor Author

Evidently, that's why haha. I'll leave it out of this PR, and investigate later.

@ukmo-ccbunney
Copy link

Evidently, that's why haha. I'll leave it out of this PR, and investigate later.

Fair enough! It seems to be panicking over on the Warning, which is odd as the error level was set to "error"...
One to investigate, as you say!

Copy link

@ukmo-ccbunney ukmo-ccbunney left a comment

Choose a reason for hiding this comment

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

Looking good. LGTM 🚀

@ESadek-MO ESadek-MO dismissed scitools-ci[bot]’s stale review March 27, 2025 16:42

I have closed all the relevant issues; this pull request just further aligns to the templates, rather than changing them.

@ukmo-ccbunney ukmo-ccbunney merged commit fb81860 into SciTools:main Mar 27, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[OTHER] Complete Ruff checks for Tephi
2 participants