- Choose an issue in repo (
https://github.com/Hexlet/hexlet-friends/issues
) - Read comments and if nobody took it yet make a comment
- Fork it
- Clone repo
git clone ssh://git@github.com/{your-nickname}/hexlet-friends.git
- Create your feature branch (
git checkout -b my-new-feature
) - Make changes
- Checkout Makefile or README.md for commands like
make check
make lint
make test
- Run tests and linters (
make check
) - Commit your changes (
git commit -am 'Added some feature'
)- "When you install a project, scripts for the ruff pre-commit hooks are added to the .git folder.
When you make your first commit, you will see the environment settings for the pre-commit hook displayed in the terminal. This is normal behavior and will only happen
on your first commit. In general, you will see in the terminal the status of the ruff check for the pre-commit hook. In case of linter errors, they will be displayed in the
terminal and abort the commit to fix them. If there are any errors, fix these errors and try to commit again. You can read more about pre-commit hooks here.*
- "When you install a project, scripts for the ruff pre-commit hooks are added to the .git folder.
- Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Check if Request passed GithubActions
- Wait, until PR is reviewed