juanjcardona13 / graphene_django_cruddals

Convert your Django models with just a few lines of code into a complete GraphQL API with all CRUD operations + DALS operations (Activate, Deactivate, List, Search)
Apache License 2.0
12 stars 1 forks source link

🔧 Update `pre-commit` Configuration File #16

Open ARYAN-NIKNEZHAD opened 1 month ago

ARYAN-NIKNEZHAD commented 1 month ago

Description:

This package currently lacks a .pre-commit-config.yaml file, which is important for maintaining code quality and consistency. Without this configuration file, we miss out on several benefits provided by pre-commit hooks:

  1. Automated Code Checks: pre-commit allows us to run automated checks (e.g., linting, formatting) before commits, ensuring that code adheres to style guidelines and best practices.

  2. Error Prevention: By enforcing coding standards and preventing common mistakes, pre-commit helps reduce the likelihood of introducing errors or style inconsistencies.

  3. Consistency: Ensures that all contributors follow the same code quality checks, promoting uniformity across the codebase.

  4. Efficiency: Automates repetitive tasks, saving time and effort during code review and integration.

Action Items:

ARYAN-NIKNEZHAD commented 1 month ago

Hi @juanjcardona13 You can use my configuration https://github.com/Lazarus-org/django_logging/blob/main/.pre-commit-config.yaml