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

Add pre-commit hooks configuration #8

Merged
merged 3 commits into from
Nov 1, 2023
Merged

Add pre-commit hooks configuration #8

merged 3 commits into from
Nov 1, 2023

Conversation

nkuba
Copy link
Member

@nkuba nkuba commented Oct 31, 2023

The pre-commit hooks are used to run code formatting checks before the code is submitted to the repository with git commit command.

To setup the hooks follow the steps:

  1. Install pre-commit tool:
brew install pre-commit
  1. Install the hooks for the repository:
pre-commit install

The pre-commit hooks are used to run code formatting checks before the
code is submitted to the repository with `git commit` command.

To setup the hooks follow the steps:

1. Install `pre-commit` tool:
    ```sh
    brew install pre-commit
    ```

2. Install the hooks for the repository:
    ```sh
    pre-commit install
    ```
@nkuba nkuba requested review from dimpar and r-czajkowski October 31, 2023 10:58
@nkuba nkuba self-assigned this Oct 31, 2023
.pre-commit-config.yaml Outdated Show resolved Hide resolved
.pre-commit-config.yaml Outdated Show resolved Hide resolved
@nkuba nkuba requested a review from r-czajkowski November 1, 2023 11:11
Copy link
Contributor

@r-czajkowski r-czajkowski left a comment

Choose a reason for hiding this comment

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

🚀

@r-czajkowski r-czajkowski merged commit ee3d77f into main Nov 1, 2023
@r-czajkowski r-czajkowski deleted the pre-commit branch November 1, 2023 11:44
@nkuba nkuba added the 🔗 Solidity Solidity contracts label Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔗 Solidity Solidity contracts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants