Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Note about configuring `args` and `files`.
  • Loading branch information
atugushev committed Mar 18, 2020
1 parent 14f4593 commit 5f2dea3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,19 @@ Sample ``.pre-commit-config.yaml``:
hooks:
- id: pip-compile
You might want to customize ``pip-compile`` args by configuring ``args`` and/or ``files``, for example:

.. code::
repos:
- repo: https://github.com/jazzband/pip-tools
rev: 4.2.0
hooks:
- id: pip-compile
files: ^requirements/production\.(in|txt)$
args: [--index-url=https://example.com, requirements/production.in]
Example usage for ``pip-sync``
==============================

Expand Down

0 comments on commit 5f2dea3

Please sign in to comment.