Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Richtarik committed Apr 3, 2024
1 parent c2f4f53 commit c96bd0c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python -m pip install tox tox-gh-actions
- name: Cache tox environments
id: cache-tox
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: .tox
# setup.py and setup.cfg have versioning info that would impact the
Expand All @@ -41,7 +41,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.python-version }}-tox-${{ hashFiles('setup.py') }}-${{ hashFiles('setup.cfg') }} }}
- name: Test with tox
run: tox
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
env:
token: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
author="Anders Huss",
author_email="andhus@kth.se",
license='MIT',
install_requires=['scantree>=0.0.1'],
install_requires=['scantree>=0.0.2', 'pathspec<=0.10.0'],
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
Expand Down
4 changes: 2 additions & 2 deletions src/dirhash/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=''
)
Expand All @@ -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=''
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dirhash.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c96bd0c

Please sign in to comment.