Installation¶
Using pip¶
To install the refine
tool for use in the CLI, use the following command:
Using pre-commit¶
To use the refine
tool with pre-commit, add the following configuration to your .pre-commit-config.yaml
file:
- repo: https://github.com/s0undt3ch/refine
rev: v1.0.0 # Use the appropriate version or branch
hooks:
- id: refine
Then, install the pre-commit hook by running:
This will set up the refine
tool to run automatically on your codebase as part of the pre-commit hooks.