ArcanaFramework / fileformats

a Python package for the specification, validation and manipulation of file formats and types
https://arcanaframework.github.io/fileformats/
Other
5 stars 0 forks source link

File hashing support #13

Closed tclose closed 1 year ago

tclose commented 1 year ago

Adds support for file-hashing in a way that is compatible with the next version of Pydra

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 81.81% and project coverage change: +2.25 :tada:

Comparison is base (ab5a1d7) 81.50% compared to head (a417958) 83.76%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #13 +/- ## ========================================== + Coverage 81.50% 83.76% +2.25% ========================================== Files 25 25 Lines 1525 1595 +70 Branches 399 417 +18 ========================================== + Hits 1243 1336 +93 + Misses 211 186 -25 - Partials 71 73 +2 ``` | [Impacted Files](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework) | Coverage Δ | | |---|---|---| | [fileformats/archive/converters.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvYXJjaGl2ZS9jb252ZXJ0ZXJzLnB5) | `82.85% <ø> (ø)` | | | [fileformats/core/converter.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvY29yZS9jb252ZXJ0ZXIucHk=) | `81.35% <75.00%> (ø)` | | | [fileformats/core/base.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvY29yZS9iYXNlLnB5) | `81.27% <76.41%> (+4.31%)` | :arrow_up: | | [fileformats/core/mixin.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvY29yZS9taXhpbi5weQ==) | `81.53% <81.08%> (+0.25%)` | :arrow_up: | | [fileformats/generic/\_\_init\_\_.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvZ2VuZXJpYy9fX2luaXRfXy5weQ==) | `74.52% <87.50%> (+1.79%)` | :arrow_up: | | [fileformats/field/\_\_init\_\_.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvZmllbGQvX19pbml0X18ucHk=) | `83.72% <88.46%> (+0.12%)` | :arrow_up: | | [fileformats/archive/\_\_init\_\_.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvYXJjaGl2ZS9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [fileformats/core/utils.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvY29yZS91dGlscy5weQ==) | `75.25% <100.00%> (+13.09%)` | :arrow_up: | | [fileformats/image/converters.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvaW1hZ2UvY29udmVydGVycy5weQ==) | `95.00% <100.00%> (+0.26%)` | :arrow_up: | | [fileformats/image/vector.py](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework#diff-ZmlsZWZvcm1hdHMvaW1hZ2UvdmVjdG9yLnB5) | `100.00% <100.00%> (ø)` | | | ... and [2 more](https://app.codecov.io/gh/ArcanaFramework/fileformats/pull/13?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ArcanaFramework) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.