Closed clalancette closed 4 months ago
Attention: Patch coverage is 0%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 88.92%. Comparing base (
fb22661
) to head (b1739fd
).
Files | Patch % | Lines |
---|---|---|
sros2/sros2/api/_artifact_generation.py | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
You cannot safely use = [] as a default argument in Python; subsequent calls will reuse that object. It probably doesn't matter in this case, as these are all "read-only" arguments, but it is better not to do it at all. Instead, we recognize that this function is always called with all of its arguments, so there is no need for default arguments at all.
While in here, I noticed that, generate_artifacts was returning a boolean on an error path, which is not allowed by its signature. So fix that as well.