Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

doc: add comment about commit history cleanliness

Steven Almeroth650eda68da1e
diff --git a/docs/contributing.rst b/docs/contributing.rst
index 3420eecac..9cced6efd 100644
--- a/docs/contributing.rst
+++ b/docs/contributing.rst
@@ -65,7 +65,7 @@ Well-written patches should:
* include one (or more) test cases that check the bug fixed or the new
functionality added. See `Writing tests`_ below.
-* if you're adding or changing a public (documented) API, please include
+* if you're adding or changing a public (documented) API, please include
the documentation changes in the same patch. See `Documentation policies`_
below.
@@ -73,7 +73,10 @@ Submitting patches
==================
The best way to submit a patch is to issue a `pull request`_ on Github,
-optionally creating a new issue first.
+optionally creating a new issue first. And try to keep your commits to just
+the new functionality; meaning, if you want to clean up the code, to conform
+to :pep:`8` for example, make an additional commit. This keeps the commit
+history cleaner.
Alternatively, we also accept the patches in the traditional way of sending
them to the `scrapy-developers`_ list.