diff --git a/docs/contributing.rst b/docs/contributing.rst new file mode 100644 index 0000000..2d90f63 --- /dev/null +++ b/docs/contributing.rst @@ -0,0 +1,7 @@ +Contributing +============ + +Install the requirements:: + + $ pip install -r requirements.txt + $ pip install -r requirements-dev.txt diff --git a/docs/index.rst b/docs/index.rst index 8f46bc4..a2a31cf 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -24,6 +24,7 @@ Contents file-format hooks api-reference + contributing changelog diff --git a/fabfile.py b/fabfile.py index 20b828c..3ced95a 100644 --- a/fabfile.py +++ b/fabfile.py @@ -22,9 +22,9 @@ def coverage(): @task def clean(): - """Remove all .pyc files""" + """Remove all .pyc files.""" # Ignore hidden files and folder - local("find . \( ! -regex '.*/\..*/..*' \) -type f -name '*.pyc' -exec rm '{}' +") + local("find . -name '*.py[co]' -exec rm -f '{}' ';'") @task