BlueBrain / nexus-forge

Building and Using Knowledge Graphs made easy
https://nexus-forge.readthedocs.io
GNU Lesser General Public License v3.0
38 stars 19 forks source link

Add method when initializing forge to export pyshacl environment variable #406

Closed crisely09 closed 4 months ago

crisely09 commented 4 months ago

To ensure the pyshacl environment variable is set when using forge.validate, I added a method to set it at initializing a KnowledgeGraphForge instance.

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 75.67%. Comparing base (1a71661) to head (0bf27f4).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #406 +/- ## ========================================== + Coverage 75.65% 75.67% +0.02% ========================================== Files 103 103 Lines 6761 6767 +6 ========================================== + Hits 5115 5121 +6 Misses 1646 1646 ``` | [Flag](https://app.codecov.io/gh/BlueBrain/nexus-forge/pull/406/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BlueBrain) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/BlueBrain/nexus-forge/pull/406/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BlueBrain) | `75.67% <100.00%> (+0.02%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BlueBrain#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.