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

Setup pre-commit hooks #52

Merged
merged 3 commits into from
Feb 16, 2024
Merged

Setup pre-commit hooks #52

merged 3 commits into from
Feb 16, 2024

Conversation

elbeejay
Copy link
Contributor

@elbeejay elbeejay commented Feb 3, 2024

PR sets up the pre-commit hooks configuration yaml file and adds the requirement to pyproject.toml.

CI should be enabled via: https://results.pre-commit.ci/repo/github/192398961

They say there is no setup beyond having the configuration yaml file and enabling the extension (see feature documentation).


Before merging let's decide on the specific styling and pre-commit hooks we want to enable.

Some options that have pre-commit hooks for Python are: autopep8, pylint, and flake8. I think this relates to this discussion: https://github.com/orgs/worldbank/discussions/6, as this is something that we'd be looking to standardize across at least the project, if not the wider "GOST" portfolio of projects.

@g4brielvs g4brielvs marked this pull request as ready for review February 16, 2024 15:18
@g4brielvs g4brielvs merged commit c16245b into main Feb 16, 2024
3 of 4 checks passed
@g4brielvs g4brielvs deleted the style-lint branch March 6, 2024 16:48
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.

2 participants