From 54cab43a994d20a81987d2c976df5b0c408d5176 Mon Sep 17 00:00:00 2001 From: Filip Richtarik Date: Wed, 3 Apr 2024 14:52:32 +0200 Subject: [PATCH] fixes --- src/dirhash/cli.py | 4 ++-- tests/test_dirhash.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dirhash/cli.py b/src/dirhash/cli.py index 06e4044..89f8308 100644 --- a/src/dirhash/cli.py +++ b/src/dirhash/cli.py @@ -80,7 +80,7 @@ def get_kwargs(args): help=( 'One or several patterns for paths to include. NOTE: patterns ' 'with an asterisk must be in quotes ("*") or the asterisk ' - 'preceded by an escape character (\*).' + 'preceded by an escape character (`*).' ), metavar='' ) @@ -91,7 +91,7 @@ def get_kwargs(args): help=( 'One or several patterns for paths to exclude. NOTE: patterns ' 'with an asterisk must be in quotes ("*") or the asterisk ' - 'preceded by an escape character (\*).' + 'preceded by an escape character (`*).' ), metavar='' ) diff --git a/tests/test_dirhash.py b/tests/test_dirhash.py index 0111d78..1d70523 100644 --- a/tests/test_dirhash.py +++ b/tests/test_dirhash.py @@ -132,7 +132,7 @@ def test_ignore_extensions(self): class TempDirTest(object): - def setup(self): + def setup_method(self): self.dir = tempfile.mkdtemp() def tear_down(self):