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

Added basic git pre-commit hook setup for auto-formatting #1405

Merged
merged 7 commits into from
Jan 17, 2025

Conversation

tleonhardt
Copy link
Member

@tleonhardt tleonhardt commented Jan 17, 2025

Added basic git pre-commit hook setup for auto-formatting.

Also:

  • Added a simple Makefile for easily installing and using a uv-based local dev setup
    • This is quicker and more intuitive to use than invoke
  • Refactored pyproject.toml to use the recommended dependency-groups which is a newer feature
  • Added minimum version for all dependendcies in pyproject.toml to avoid warnings
  • Changed the RTD build to install the docs dependency group since that is slightly different than an optional dependency

Closes #1403

Also:
- Added a simple Makefile for easily installing and using a uv-based local dev setup
- Refactored pyproject.toml to use the recommended dependency-groups and minimum versions for all dependencies
@tleonhardt tleonhardt self-assigned this Jan 17, 2025
@tleonhardt tleonhardt requested a review from kmvanbrunt January 17, 2025 23:30
@tleonhardt tleonhardt merged commit 9c2c7b4 into master Jan 17, 2025
47 checks passed
@tleonhardt tleonhardt deleted the pre-commit branch January 17, 2025 23:33
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.

Add git pre-commit hooks for things like ruff and prettier
1 participant