-
Notifications
You must be signed in to change notification settings - Fork 74
[#726,#774] Migrate to pyproject.toml and add GH action for ruff
#790
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
|
|
||
| jobs: | ||
| ruff-lint: | ||
| uses: SwooshyCueb/irods_reusable_github_workflows/.github/workflows/linter-irods-ruff.yml@main |
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.
we'd update this to irods namespace once we're happy...
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.
Right. Also, this PR was supposed to be in my fork, not in the actual repo. But GitHub has a lot of dark patterns to try and prevent that I guess
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.
makes it more real! or something.
pyproject.toml and add GH action for ruff
| indent-width = 4 | ||
|
|
||
|
|
||
| [tool.ruff.format] |
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 think this is the only place I've seen two empty lines. Is that intentional?
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.
No, will fix
alanking
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.
Very nice
|
|
||
| [tool.ruff.format] | ||
| quote-style = "preserve" | ||
| indent-style = "space" |
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 imagine we will want to flip this to tabs if/when we run the formatter on the codebase?
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.
That's correct.
|
Converting to draft, |
Addresses #726
Addresses #774