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

Update pyproject.toml and .pre-commit-config.yaml for common SciTools standards #435

Merged
merged 17 commits into from
Nov 19, 2024

Conversation

stephenworsley
Copy link
Contributor

@stephenworsley stephenworsley commented Nov 14, 2024

Follow up issue here #437

@stephenworsley stephenworsley marked this pull request as ready for review November 18, 2024 09:35
Copy link
Contributor

@HGWright HGWright left a comment

Choose a reason for hiding this comment

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

Thanks. Looks almost all good, just a couple of comments to consider.

noxfile\.py|
pyproject\.toml|
setup\.py|
src\/.+\.py
Copy link
Contributor

Choose a reason for hiding this comment

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

This doesn't seen necessary since we don't have a src file. Although it doesn't seem like it is a problem since its not causing errors.

Comment on lines +73 to +82
[tool.repo-review]
ignore = [
# https://learn.scientific-python.org/development/guides/style/#PC170
"PC170", # PyGrep hooks
# https://learn.scientific-python.org/development/guides/style/#PC180
"PC180", # Uses prettier
"PY005", # Test folder location
"GH104", # Unique names for upload artifact
"GH212", # Require GHA update grouping
]
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems inconsistent to do the link for 2 and not all, your call if you want to remove the links that are there or add the rest.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The other equivalent links don't work, I agree it does make it look a bit odd with just two though.

Copy link
Contributor

@HGWright HGWright left a comment

Choose a reason for hiding this comment

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

Thanks. LGTM.

@HGWright HGWright merged commit 8096455 into SciTools:main Nov 19, 2024
15 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