Skip to content

Conversation

@SwooshyCueb
Copy link
Member

Copy link
Collaborator

@korydraughn korydraughn left a 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
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
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
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
repository: SwooshyCueb/irods_reusable_github_workflows
repository: irods/irods_reusable_github_workflows

git_diff_args += [
"diff",
"HEAD",
#"--cached",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we need this?

Copy link
Member Author

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.

Copy link
Collaborator

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.

@SwooshyCueb
Copy link
Member Author

Do we have to worry about any compatibility issues as new versions of ruff are released?

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.

What else do we need to be aware of when it comes to using this workflow in projects?

Nothing comes to mind.

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