reanahub / reana-client

REANA command-line client
http://reana-client.readthedocs.io/
MIT License
10 stars 44 forks source link

validation: improve warning message for unexpected properties #693

Closed giuseppe-steduto closed 7 months ago

giuseppe-steduto commented 7 months ago

Change the warning message generated when unexpected properties are found in the REANA specification during the validation phase to include the path to the invalidating properties.

Closes #679.

codecov[bot] commented 7 months ago

Codecov Report

Merging #693 (208a8e6) into master (691a378) will decrease coverage by 0.05%. The diff coverage is 25.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/reanahub/reana-client/pull/693/graphs/tree.svg?width=650&height=150&src=pr&token=b85cSEiOhs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub)](https://app.codecov.io/gh/reanahub/reana-client/pull/693?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub) ```diff @@ Coverage Diff @@ ## master #693 +/- ## ========================================== - Coverage 58.62% 58.57% -0.05% ========================================== Files 24 24 Lines 2388 2390 +2 ========================================== Hits 1400 1400 - Misses 988 990 +2 ``` | [Files](https://app.codecov.io/gh/reanahub/reana-client/pull/693?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub) | Coverage Δ | | |---|---|---| | [reana\_client/validation/utils.py](https://app.codecov.io/gh/reanahub/reana-client/pull/693?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=reanahub#diff-cmVhbmFfY2xpZW50L3ZhbGlkYXRpb24vdXRpbHMucHk=) | `73.43% <25.00%> (-2.37%)` | :arrow_down: |