openvinotoolkit / datumaro

Dataset Management Framework, a Python library and a CLI tool to build, analyze and manage Computer Vision datasets.
https://openvinotoolkit.github.io/datumaro/
MIT License
551 stars 135 forks source link

No security check for id_from_image_name #1642

Closed jihyeonyi closed 1 month ago

jihyeonyi commented 1 month ago

Summary

Ignore bandit error B311 in 'id_from_image_name' transform.

How to test

Checklist

License

# Copyright (C) 2024 Intel Corporation
#
# SPDX-License-Identifier: MIT
codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 81.17%. Comparing base (ff5fd94) to head (8bac736). Report is 18 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1642 +/- ## =========================================== + Coverage 81.06% 81.17% +0.10% =========================================== Files 278 281 +3 Lines 32517 32781 +264 Branches 6607 5283 -1324 =========================================== + Hits 26360 26610 +250 - Misses 4701 4721 +20 + Partials 1456 1450 -6 ``` | [Flag](https://app.codecov.io/gh/openvinotoolkit/datumaro/pull/1642/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openvinotoolkit) | Coverage Δ | | |---|---|---| | [ubuntu-20.04_Python-3.10](https://app.codecov.io/gh/openvinotoolkit/datumaro/pull/1642/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openvinotoolkit) | `81.15% <100.00%> (+0.10%)` | :arrow_up: | | [windows-2022_Python-3.10](https://app.codecov.io/gh/openvinotoolkit/datumaro/pull/1642/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openvinotoolkit) | `81.15% <100.00%> (+0.11%)` | :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=openvinotoolkit#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.