From 0ec64204b0adad8f367ba9b8e1e9333722acf0f2 Mon Sep 17 00:00:00 2001 From: Tommy Ip Date: Sun, 5 Mar 2017 16:21:32 +0000 Subject: [PATCH] [WIP] Add support for linting a range of commits natively. Fixes #14. --- gitlint/cli.py | 24 +++++++++--- gitlint/git.py | 81 +++++++++++++++++++-------------------- gitlint/tests/test_cli.py | 10 ++--- gitlint/tests/test_git.py | 75 ++++++++++++++++-------------------- 4 files changed, 96 insertions(+), 94 deletions(-) diff --git a/gitlint/cli.py b/gitlint/cli.py index 81992b07..e61b7e9f 100644 --- a/gitlint/cli.py +++ b/gitlint/cli.py @@ -70,6 +70,7 @@ def build_config(ctx, target, config_path, c, extra_path, ignore, verbose, silen @click.option('-c', multiple=True, help="Config flags in format .