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

Implement pre-commit hook #79

Merged
merged 6 commits into from
Sep 20, 2023
Merged

Implement pre-commit hook #79

merged 6 commits into from
Sep 20, 2023

Conversation

joyet-simon
Copy link
Contributor

@joyet-simon joyet-simon commented Sep 6, 2023

Reason for change

We need to implement pre-commit on our cartridge to improve our code.

Code changes

  • Implement pre-commit hook
  • Config pre-commit
  • Rectify code to pass pre-commit run

How to test

Checklist for authors and reviewers

  • The title of the PR uses business wording, not technical jargon, for the changelog readers to understand it
  • You understand the impact of this PR on existing code/features

Non applicable

  • The PR implements the changes asked in the referenced task / issue
  • The automated tests are compliant with the testing strategy
  • The tests are relevant, and cover the corner/error cases, not only the happy path
  • The changes include adequate logging and Datadog traces
  • Documentation is updated (API, developer documentation, ADR, Notion...)

@joyet-simon joyet-simon self-assigned this Sep 6, 2023
@sonarcloud
Copy link

sonarcloud bot commented Sep 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@joyet-simon joyet-simon merged commit a5b923a into develop Sep 20, 2023
3 checks passed
@joyet-simon joyet-simon deleted the feature/pre-commit-hook branch September 20, 2023 07:17
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.

2 participants