-
Notifications
You must be signed in to change notification settings - Fork 2
[irods/python-irodsclient#726] Add Ruff workflows #25
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
base: main
Are you sure you want to change the base?
Conversation
korydraughn
left a comment
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.
Good stuff. Let's remove the pound for now.
Please go through and document the python file so that others can understand the thinking and implementation. Let's capture requirements in the source file too, if any.
Do we have to worry about any compatibility issues as new versions of ruff are released?
What else do we need to be aware of when it comes to using this workflow in projects?
| - name: Checkout Workflow Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| repository: SwooshyCueb/irods_reusable_github_workflows |
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.
| repository: SwooshyCueb/irods_reusable_github_workflows | |
| repository: irods/irods_reusable_github_workflows |
| - name: Checkout Workflow Repository | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| repository: SwooshyCueb/irods_reusable_github_workflows |
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.
| repository: SwooshyCueb/irods_reusable_github_workflows | |
| repository: irods/irods_reusable_github_workflows |
| git_diff_args += [ | ||
| "diff", | ||
| "HEAD", | ||
| #"--cached", |
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.
Do we need this?
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.
I've left it because LLVM uses it in their wrappers, but it breaks ours. I haven't figured out why.
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.
Okay. Let's open an issue for it and put a TODO(#N): around it.
We may have to adjust project configurations as new rules are added or removed. Beyond that, I think the project is mature enough that we would have plenty of warning for any breaking changes.
Nothing comes to mind. |
In service of irods/python-irodsclient#726