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 to cleanup code #792

Open
AlexVCaron opened this issue Oct 24, 2023 · 0 comments
Open

Add pre-commit hooks to cleanup code #792

AlexVCaron opened this issue Oct 24, 2023 · 0 comments

Comments

@AlexVCaron
Copy link
Contributor

It would be nice to prevent contributors to commit code that doesn't abide to Scil standard. To do so, we have to configure pep8 (or flake8 or any other linter(s)) and make it so that the pre-commit hooks are installed by developpers. There is probably a way to setup the repo on cloning, but I haven't investiguated.

Here is the pre-commit hooks homepage, with all available configurations from the community. There is a lot of nice features we could use there.

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

No branches or pull requests

1 participant