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

chore: introduce pre-commit #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slowy07
Copy link

@slowy07 slowy07 commented Jun 13, 2024

adding pre-commit configuration for better development and maintain with introduce some lib including

  • ruff ( formatter and linter )
    replace for black formatter and flake8 linter, cause ruff are configuraable and more quick for formatting and linting on python projects

  • builtin pre-commit configuration

    • check-yaml
    • end-of-file-fixer
    • trailing whitespace
    • requirements txt fixer
  • ruff configuration
    configuration for ruff formatter and linter, which can dynamically config for specific project

reference:
- ruff: https://docs.astral.sh/ruff/
- pre-commit: https://pre-commit.com/

note: can configure with other development lib, and can use builtin or 3rd party lib

testimonial on other project ( geemap

image

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