kpi-web-guild / django-girls-blog-Miseracle

Blog from a djangotutorial.
1 stars 0 forks source link

Pre-commit integration #2

Closed Miseracle closed 7 years ago

Miseracle commented 7 years ago

Add pre-commit tool, fixed various pep8 issues(docstrings etc.).

webknjaz commented 7 years ago

1) Short commit message must not exceed 50 chars. All details should be moved to the "long" commit description. The commit must match pattern {{Action in present tense}} {{brief description}}. 2) Use normal sentence style for commit messages: add whitespaces where you'd place them in typical human-readable text.

webknjaz commented 7 years ago

3) Commit 7023e16 Merge branch 'feature/pre-commit-integration' of https://github.com/Miseracle/my-first-blog into feature/pre-commit-integration is a merge commit. Please try to avoid such things as they mess up your history log. The best approach is to use git pull --rebase instead of just git pull, this ensures that your local commits, which you haven't pushed yet are being rebased on top of ones fetched from remote, so that the history looks awesomely straightforward.

webknjaz commented 7 years ago

For merging: