From 1f262dab150c21f7361ed5613effcd550164ac04 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 4 Dec 2017 17:28:46 -0800 Subject: [PATCH] Document minimum version required for `git-lfs` Resolves #252 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ff596ac..3961204 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,8 @@ Add this to your `.pre-commit-config.yaml` setup.cfg / tox.ini. - `check-added-large-files` - Prevent giant files from being committed. - Specify what is "too large" with `args: ['--maxkb=123']` (default=500kB). + - If `git-lfs` is installed, lfs files will be skipped + (requires `git-lfs>=2.2.1`) - `check-ast` - Simply check whether files parse as valid python. - `check-builtin-literals` - Require literal syntax when initializing empty or zero Python builtin types. - Allows calling constructors with positional arguments (e.g., `list('abc')`).