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

Update the CONTRIBUTING.md file to add details regarding pre-commit & GitHub Actions local setup #254

Conversation

nijanthanvijayakumar
Copy link
Contributor

Proposed changes

This is regarding the issue #246

Add details to CONTRIBUTING.md on auto-assigning issues, pre-commit installation, and GitHub Actions local setup using 'act'.

  • Auto-assigning issues: Add a section explaining auto-assigning issues on the comment 'take', referencing the configuration in .github/workflows/assign-on-comment.yml.
  • Pre-commit installation and execution: Add a section detailing pre-commit installation and execution, referencing the configuration in .pre-commit-config.yaml.
  • GitHub Actions local setup using 'act': Add a section providing instructions for running specific jobs and handling MacBooks with M1 processors.

Types of changes

  • Bugfix (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 not work as expected)
  • Documentation Update (if none of the other choices apply)

Further comments

N/A

nijanthanvijayakumar and others added 2 commits July 15, 2024 23:03
…s setup

Add details to `CONTRIBUTING.md` on auto-assigning issues, pre-commit installation, and GitHub Actions local setup using 'act'.

* **Auto-assigning issues**: Add a section explaining auto-assigning issues on the comment 'take', referencing the configuration in `.github/workflows/assign-on-comment.yml`.
* **Pre-commit installation and execution**: Add a section detailing pre-commit installation and execution, referencing the configuration in `.pre-commit-config.yaml`.
* **GitHub Actions local setup using 'act'**: Add a section providing instructions for GitHub Actions local setup using 'act', referencing the configuration in `.github/workflows/ci.yml`. Include instructions for running specific jobs and handling MacBooks with M1 processors.
To run pre-commit hooks manually, use:
```shell
pre-commit run --all-files
```
Copy link
Collaborator

Choose a reason for hiding this comment

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

pre-commit is already in the pyproject (in 1.0 branch), so we do not need pip here, but we can use poetry

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@SemyonSinchenko - thanks for pointing that out. I have updated the doco to use poetry instead of pip

According to the review comment, make the pip installs as poetry installs
@SemyonSinchenko SemyonSinchenko merged commit d18bafe into mrpowers-io:main Jul 16, 2024
9 checks passed
@nijanthanvijayakumar nijanthanvijayakumar deleted the feature-issue-246-update-contributing branch July 16, 2024 22:01
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