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

Remove pre-commit #1860

Merged
merged 2 commits into from
Oct 27, 2023
Merged

Remove pre-commit #1860

merged 2 commits into from
Oct 27, 2023

Conversation

janiversen
Copy link
Collaborator

There are no real advantage of using pre-commit in our setup.

It is being replaced by a manual git hook (located in githooks)

As a first step .pre-commit-config.yaml is reduced by removing all the duplicate checks.

@janiversen janiversen marked this pull request as draft October 27, 2023 08:22
@janiversen janiversen force-pushed the no_precommit branch 4 times, most recently from 1103c77 to ffa93d5 Compare October 27, 2023 10:29
@janiversen janiversen marked this pull request as ready for review October 27, 2023 10:39
Copy link
Collaborator

@alexrudd2 alexrudd2 left a comment

Choose a reason for hiding this comment

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

The execs is unnecessary in the hook script, but this works for me.

@janiversen janiversen merged commit 5e9a3ca into dev Oct 27, 2023
1 check passed
@janiversen janiversen deleted the no_precommit branch October 27, 2023 17:35
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants