-
Notifications
You must be signed in to change notification settings - Fork 16
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
Conversation
There was a problem hiding this 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.
.pre-commit-config.yaml
Outdated
noxfile\.py| | ||
pyproject\.toml| | ||
setup\.py| | ||
src\/.+\.py |
There was a problem hiding this comment.
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.
[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 | ||
] |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. LGTM.
Follow up issue here #437