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 more pre-commit hooks #49

Merged

Conversation

kurtmckee
Copy link
Contributor

This PR introduces the following changes:

  • Add new pre-commit hooks to sort imports, lint the code using flake8, and check the Dependabot config file schema.
  • Auto-fix import ordering by running pre-commit run -a
  • Manually fix lint errors that flake8 caught (in this case, line length and whitespace issues)

@alexprengere
Copy link
Collaborator

Thanks, although I have a personal preference for ruff instead of flake8, I agree that this is better than the current state.

@alexprengere alexprengere merged commit 5f0de11 into colour-science:master Sep 24, 2024
13 checks passed
@kurtmckee kurtmckee deleted the add-more-pre-commit-hooks branch September 24, 2024 15:16
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