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

Introduce pre-commit hooks for linting and autopep8 #187

Open
BenjaminRodenberg opened this issue Nov 7, 2024 · 0 comments
Open

Introduce pre-commit hooks for linting and autopep8 #187

BenjaminRodenberg opened this issue Nov 7, 2024 · 0 comments
Assignees
Milestone

Comments

@BenjaminRodenberg
Copy link
Member

The CI pipeline regularly breaks due to minor errors in code formatting and linting (workflows https://github.com/precice/fenics-adapter/blob/develop/.github/workflows/check-pep8.yml and https://github.com/precice/fenics-adapter/blob/develop/.github/workflows/check-links.yml). In https://github.com/precice/precice we use pre-commit hooks to force the user to take care of such issues before committing. I think having a similar tooling in this repository (and others) would be very convenient. See https://precice.org/dev-docs-dev-tooling.html for further information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants