Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -10,7 +10,7 @@ repos:
"mkdocs.yml"
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.0
rev: v0.16.6
hooks:
# Run the linter.
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ the `BaseRepoDownloader` class. The class of Open Science Framework
from datahugger.base import DatasetDownloader
from datahugger.base import DatasetResult


class OSFDataset(DatasetDownloader, DatasetResult):
"""Downloader for OSF repository."""

Expand All @@ -30,7 +31,6 @@ class OSFDataset(DatasetDownloader, DatasetResult):
ATTR_SIZE_JSONPATH = "attributes.size"
ATTR_HASH_JSONPATH = "attributes.extra.hashes.sha256"
ATTR_HASH_TYPE_VALUE = "sha256"

```

- The `API_URL` is the entry point for the URL. This URL serves the API.
Expand Down
4 changes: 3 additions & 1 deletion docs/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ folder `data`.
``` python
import datahugger

datahugger.get("https://datadryad.org/stash/dataset/doi:10.5061/dryad.x3ffbg7m8", "data")
datahugger.get(
"https://datadryad.org/stash/dataset/doi:10.5061/dryad.x3ffbg7m8", "data"
)
```
Loading