Skip to content

As a Dev, I would to implement pre-commit Hooks for Code Quality and Consistency #1157

Open
@ArthurData

Description

@ArthurData

User - Validation

  • grkstyle' style is apply at each commit

Dev - Tech

Using pre-commit in the golem package ensures high code quality and consistency. Pre-commit automates code checks before each commit, catching errors early and enforcing coding standards.

Benefits of pre-commit with golem:

  • Code Quality: Prevents bugs and inconsistencies by running tests and lints automatically.
  • Productivity: Automates repetitive checks, allowing developers to focus on complex tasks.
  • Consistency: Ensures uniform code style across all contributors.
  • Continuous Integration: Integrates smoothly with CI/CD systems, enforcing standards before merging.

Before to commit, we can:

  • Apply grkstyle,
  • Check for browser()

Estimated time

01h00.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions