Skip to content
Merged
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ cython_debug/
.abstra/

# Visual Studio Code
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
# and can be added to the global gitignore or merged into this file. However, if you prefer,
# and can be added to the global gitignore or merged into this file. However, if you prefer,
# you could uncomment the following to ignore the entire vscode folder
# .vscode/

Expand Down
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
repos:
- repo: local
hooks:
- id: pytest
name: pytest
entry: pytest --cov=dataprov --cov-report=term
language: system
pass_filenames: false
always_run: true

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.2
hooks:
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ A lightweight Python library for tracking data provenance through processing pip
- [Comparison with Other Provenance Systems](#comparison-with-other-provenance-systems)
- [W3C PROV-JSON Compatibility](#w3c-prov-json-compatibility)
- [Project Structure](#project-structure)
- [Testing](#testing)
- [Development](#development)
- [Schema Version](#schema-version)
- [Acknowledgement](#acknowledgement)

Expand Down Expand Up @@ -1405,7 +1405,7 @@ dataprov/
└── LICENSE # License file
```

## Testing
## Development

Run the test suite with pytest:

Expand All @@ -1426,6 +1426,16 @@ pytest tests/test_dataprov.py::TestExecutionTiming
pytest tests/test_dataprov.py::TestExecutionTiming::test_timing_fields_present
```

### Pre-commit Hooks

Pre-commit hooks run linting and tests automatically on each commit. Install them with:

```bash
uv run pre-commit install
```

See [CONTRIBUTING.md](CONTRIBUTING.md) for more details on contributing to this project.

## Schema Version

Current provenance schema version: **3.0** (W3C PROV-JSON)
Expand All @@ -1446,4 +1456,4 @@ This package is developed as part of the [SYNERGIES](https://synergies-ccam.eu/)
<img src="docs/funded_by_eu.svg" alt="Funded by EU" width="200"/>
</div>

Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or European Climate, Infrastructure and Environment Executive Agency (CINEA). Neither the European Union nor the granting authority can be held responsible for them.
Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or European Climate, Infrastructure and Environment Executive Agency (CINEA). Neither the European Union nor the granting authority can be held responsible for them.
2 changes: 1 addition & 1 deletion docs/synergies.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "dataprov"
version = "3.1.0"
version = "3.2.0"
description = "W3C PROV-compliant data provenance tracking library for recording processing chains"
readme = "README.md"
license = {file = "LICENSE"}
Expand Down
Loading
Loading