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

docs: update CONTRIBUTING pull request section #439

Conversation

svaloumas
Copy link
Collaborator

@svaloumas svaloumas commented Oct 25, 2022

Description

Updates the Pull Request section in CONTRIBUTING.md. Adds an extra step to include make fmt before opening a new PR.

Motivation and Context

As mentioned by @arnocornette at this comment, it would be nice if we included a step in our contributing guidelines doc, describing the required actions to format the code properly before opening a new PR.

How Has This Been Tested?

Screenshots / Output (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (no code change)
  • Refactor (refactoring production code)
  • Other

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov-commenter
Copy link

codecov-commenter commented Oct 25, 2022

Codecov Report

Base: 72.48% // Head: 72.48% // No change to project coverage 👍

Coverage data is based on head (e45731a) compared to base (94bd6c3).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #439   +/-   ##
=======================================
  Coverage   72.48%   72.48%           
=======================================
  Files          32       32           
  Lines         985      985           
=======================================
  Hits          714      714           
  Misses        203      203           
  Partials       68       68           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Owner

@nikoksr nikoksr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice @svaloumas looks good to me. All I could think of is switching the instruction order. The linter may complain about a file not being gofumpt-ed, so it may be more natural to run the formatter before the linter.

Not that I really expect anyone to strictly follow this guide in this particular order 😁

@nikoksr nikoksr merged commit 20b743e into nikoksr:main Oct 26, 2022
jidicula added a commit to jidicula/notify that referenced this pull request Oct 27, 2022
Since we're now requiring gofumpt for this project in its contribution
guidelines, it should be added to CI to ensure that new PRs are formatted correctly.

Related to: nikoksr#439
This was referenced Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants