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

feat: add a style check env #564

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat: add a style check env #564

wants to merge 4 commits into from

Conversation

math411
Copy link
Contributor

@math411 math411 commented Apr 23, 2024

Issue #, if available:

Description of changes:

Initially add black[jupyter] for linting.

Code changes generated using:

 hatch run lint:fmt                                                                                                                                                               

To check formatting and for future workflow application, the changes can be see in #561.

To get those changes, the following command was executed -

 hatch run lint:style

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@math411 math411 requested a review from a team as a code owner April 23, 2024 21:58
@math411 math411 requested a review from krneta April 24, 2024 02:42
style = [
"black --check --diff {args:.}",
]
fmt = [
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you run the style check on the repo and it didn't recommend any changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had ran this and there were suggestions which can be fixed with hatch run lint:fmt . However, for introducing this, I was adding this in a shadow run mode for the time being without the changes.

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.

None yet

2 participants