From 72b8c35be4293bd21de123854491c658c53af100 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 Dec 2021 04:31:41 +0100 Subject: Adding upstream version 0.17.0. Signed-off-by: Daniel Baumann --- qa/requirements.txt | 2 +- qa/shell.py | 2 +- qa/test_stdin.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'qa') diff --git a/qa/requirements.txt b/qa/requirements.txt index 5a4f660..76d6afc 100644 --- a/qa/requirements.txt +++ b/qa/requirements.txt @@ -1,4 +1,4 @@ sh==1.14.2 pytest==6.2.5; -arrow==1.2.0; +arrow==1.2.1; gitlint # no version as you want to test the currently installed version diff --git a/qa/shell.py b/qa/shell.py index 630843f..06ebfed 100644 --- a/qa/shell.py +++ b/qa/shell.py @@ -1,5 +1,5 @@ -# This code is mostly duplicated from the `gitlint.shell` module. We conciously duplicate this code as to not depend +# This code is mostly duplicated from the `gitlint.shell` module. We consciously duplicate this code as to not depend # on gitlint internals for our integration testing framework. import subprocess diff --git a/qa/test_stdin.py b/qa/test_stdin.py index c98580e..cee5f0c 100644 --- a/qa/test_stdin.py +++ b/qa/test_stdin.py @@ -23,7 +23,7 @@ class StdInTests(BaseTestCase): self.assertEqualStdout(output, self.get_expected("test_stdin/test_stdin_pipe_1")) def test_stdin_pipe_empty(self): - """ Test the scenario where no TTY is attached an nothing is piped into gitlint. This occurs in + """ Test the scenario where no TTY is attached and nothing is piped into gitlint. This occurs in CI runners like Jenkins and Gitlab, see https://github.com/jorisroovers/gitlint/issues/42 for details. This is the equivalent of doing: $ echo -n "" | gitlint -- cgit v1.2.3