Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-3018

Use pre-commit for development

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      In the Python team we have been using pre-commit for over a year and it has aided in our local development. pre-commit works by installing a git hook that runs checks on changed files.

      For the go team, we could consider using many of the built-in checks, including check-yaml, as well as golang specific hooks like https://github.com/TekWizely/pre-commit-golang.

      Attachments

        Activity

          People

            steve.silvester@mongodb.com Steve Silvester
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: