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

Feature/pre-commit hook and dependency management integration #13

Closed
wants to merge 2 commits into from

Conversation

nifedara
Copy link
Owner

@nifedara nifedara commented Jun 22, 2024

What does this PR do?

Integrate Pre-commit Hooks and Dependency Management

Consideration

  • These are sample hooks. More can be added
  • Documentation for pdm installation to be added

Why choices of pre-commit hook

  • check-yaml: Loads all yaml files to verify the syntax
  • end-of-file-fixer: Makes sure files end in a newline and only a newline
  • trailing-whitespace: Trims trailing whitespace. ..more
  • ruff: Fast Python linter and code formatter, written in Rust.
  • commitizen: Enforces writing descriptive commits and makes commits easier to read

Why pdm for dependency management

  • pdm: a modern Python package and dependency manager that supports the latest PEP standards

@nifedara nifedara closed this Jun 22, 2024
@nifedara nifedara deleted the feature branch June 22, 2024 08:00
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