Skip to content

Commit

Permalink
Fix precommits and add wheel as dependency to check-manifest (py3.12)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Dec 12, 2024
1 parent 4f6da58 commit 3200b39
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ repos:
hooks:
- id: check-manifest
args: [--no-build-isolation]
additional_dependencies: [setuptools-scm]
additional_dependencies: [setuptools-scm, wheel]
# - repo: https://github.com/codespell-project/codespell
# # Configuration for codespell is in pyproject.toml
# rev: v2.3.0
Expand Down
13 changes: 8 additions & 5 deletions tests/fixtures/integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ def pooch_registry() -> dict:
file_registry = pooch.retrieve(
url=f"{GIN_TEST_DATA_REPO}/raw/master/files-registry.txt",
known_hash=None,
fname="files-registry.txt",
# we need to pass a filename otherwise the file is not overwritten every time!
# From the docs: if fname=None, will create a unique file name using
# a combination of the last part of the URL (assuming it’s the file
# name) and the MD5 hash of the URL.
fname="files-registry.txt",
# we need to pass a filename otherwise the file is not overwritten
# every time!
# From the docs: if fname=None, will create a unique file name using
# a combination of the last part of the URL (assuming it’s the file
# name) and the MD5 hash of the URL. So if fname=None, the file won't
# be overwritten while the URL stays the same, even if the content
# changes.
path=Path.home() / ".crabs-exploration-test-data",
)

Expand Down

0 comments on commit 3200b39

Please sign in to comment.