Skip to content

Introduce pre-commit hooks for linting and autopep8Β #187

@BenjaminRodenberg

Description

@BenjaminRodenberg

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions