summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2015-02-22 22:29:13 -0600
committerIan Cordasco <graffatcolmingov@gmail.com>2015-02-22 22:29:13 -0600
commitba344c8ded01ccbf865154315e7cb0f5472386ce (patch)
tree9cca94b9dcac0a70224c5be2e1e0c9e1d36de7fb /docs
parenteae9a6a3db7bd4e18ff9cfd38989fac4df05a753 (diff)
downloadflake8-ba344c8ded01ccbf865154315e7cb0f5472386ce.tar.gz
Refactor some bits of flake8.hooks
Diffstat (limited to 'docs')
-rw-r--r--docs/vcs.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/vcs.rst b/docs/vcs.rst
index df56b39..66538b4 100644
--- a/docs/vcs.rst
+++ b/docs/vcs.rst
@@ -32,3 +32,19 @@ settings or environment variables:
``flake8.lazy`` or ``FLAKE8_LAZY``
If True, also scans those files not added to the index before
commit. (defaults to False)
+
+You can set these either through the git command line
+
+.. code-block:: bash-session
+
+ $ git config flake8.complexity 10
+ $ git config flake8.strict true
+
+Or by directly editing ``.git/config`` and adding a section like
+
+.. code-block:: ini
+
+ [flake8]
+ complexity = 10
+ strict = true
+ lazy = false