1
0
Fork 0

Adding upstream version 0.17.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-13 06:05:48 +01:00
parent d348d631e5
commit 9e88905bdf
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
128 changed files with 72 additions and 100 deletions

View file

@ -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

View file

@ -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

View file

@ -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