Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add pre-commit hooks #132

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

Merged
merged 5 commits into from
Jul 13, 2023
Merged

Add pre-commit hooks #132

merged 5 commits into from
Jul 13, 2023

Conversation

yakutovicha
Copy link
Member

fixes #24

@yakutovicha yakutovicha marked this pull request as draft July 12, 2023 13:00
@edoardob90
Copy link
Member

Shouldn't pre-commit be added as a "dev" dependency somewhere?

@yakutovicha
Copy link
Member Author

Shouldn't pre-commit be added as a "dev" dependency somewhere?

At the moment I would add it to environment.yml.

If we want to make it a dev dependency, we should convert this repo into a proper Python package.

@yakutovicha yakutovicha requested a review from edoardob90 July 12, 2023 14:22
@yakutovicha yakutovicha marked this pull request as ready for review July 12, 2023 14:22
@yakutovicha
Copy link
Member Author

Admittedly, I didn't fix all the issues reported by pre-commit. But slowly we will get there 👍

Copy link
Member

@edoardob90 edoardob90 left a comment

Choose a reason for hiding this comment

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

There might be a few other warnings to add to the ignore list, but I guess this is a good starting point 👍🏻

.pre-commit-config.yaml Outdated Show resolved Hide resolved
Co-authored-by: Edoardo Baldi <edoardo.baldi@empa.ch>
@yakutovicha yakutovicha requested a review from edoardob90 July 13, 2023 14:51
@yakutovicha yakutovicha merged commit 5da0ace into main Jul 13, 2023
@yakutovicha yakutovicha deleted the chore/add-pre-commit-hooks branch July 13, 2023 15:03
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.

Add pre-commit hooks
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.