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

Devops: update pre-commit dependencies and configuration #781

Merged
merged 2 commits into from
Jan 29, 2022

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Jan 29, 2022

Also add the isort pre-commit hook

A number of pre-commit tools have now added support for `pyproject.toml`.
This means we can move their custom configuration files, such as the
`.style.yapf` for `yapf`, and configuration from `.pre-commit-config.yaml`
to the `pyproject.toml`. In addition, the dependency requirements of the
pre-commit tools are updated.
The `isort` tool will automatically sort the imports at the top of a
module, resulting in a consistent look across the package.
@sphuber sphuber merged commit 86fc363 into develop Jan 29, 2022
@sphuber sphuber deleted the fix/update-pre-commit branch January 29, 2022 14:09
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

Successfully merging this pull request may close these issues.

1 participant