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
[feature] Add support for pre-commit #225
Comments
@Freed-Wu What would this support entail? From a quick read it would seem all configuration is created in each repository where pre-commit is installed. |
As Freed-Wui didn't react. It's actually only a yaml config on how to use radon in a project. E.g: After that I (and others) could implement radon in our pre-commit hooks and let it fail on one of those metrics. Edit: this would also mean, that we get some kind of exit code != 0, when metrics N (e.g. mccabe) is above a given threshold. |
Hey, sorry for late. Just add a |
Here is a snippet to be put in .pre-commit-config.yaml to use xenon:
Maybe someone will find it useful. |
https://pre-commit.com/
The text was updated successfully, but these errors were encountered: