Skip to content

Commit 41fbe5a

Browse files
authored
Remove Bandit tests B320 and B410. (#1706)
<!-- Contributing guide: https://github.com/openvinotoolkit/datumaro/blob/develop/CONTRIBUTING.md --> ### Summary This PR disables Bandit scans which have been removed in the latest version of Bandit. See for background information: * PyCQA/bandit#767 * PyCQA/bandit#1212 <!-- Resolves #111 and #222. Depends on #1000 (for series of dependent commits). This PR introduces this capability to make the project better in this and that. - Added this feature - Removed that feature - Fixed the problem #1234 --> ### How to test <!-- Describe the testing procedure for reviewers, if changes are not fully covered by unit tests or manual testing can be complicated. --> ### Checklist <!-- Put an 'x' in all the boxes that apply --> - [ ] I have added unit tests to cover my changes.​ - [ ] I have added integration tests to cover my changes.​ - [ ] I have added the description of my changes into [CHANGELOG](https://github.com/openvinotoolkit/datumaro/blob/develop/CHANGELOG.md).​ - [ ] I have updated the [documentation](https://github.com/openvinotoolkit/datumaro/tree/develop/docs) accordingly ### License - [ ] I submit _my code changes_ under the same [MIT License](https://github.com/openvinotoolkit/datumaro/blob/develop/LICENSE) that covers the project. Feel free to contact the maintainers if that's a concern. - [ ] I have updated the license header for each file (see an example below). ```python # Copyright (C) 2024 Intel Corporation # # SPDX-License-Identifier: MIT ```
2 parents 3d0aa04 + 7016bea commit 41fbe5a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.ci/ipas_default.config

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
# B317 : xml_bad_sax
4141
# B318 : xml_bad_minidom
4242
# B319 : xml_bad_pulldom
43-
# B320 : xml_bad_etree
4443
# B321 : ftplib
4544
# B323 : unverified_context
4645
# B324 : hashlib_new_insecure_functions
@@ -53,7 +52,6 @@
5352
# B407 : import_xml_expat
5453
# B408 : import_xml_minidom
5554
# B409 : import_xml_pulldom
56-
# B410 : import_lxml
5755
# B411 : import_xmlrpclib
5856
# B412 : import_httpoxy
5957
# B413 : import_pycrypto
@@ -83,7 +81,7 @@
8381
# IPAS Required Checkers. Do not disable these
8482
# Additional checkers may be added if desired
8583
tests:
86-
[ 'B301', 'B302', 'B303', 'B304', 'B305', 'B306', 'B308', 'B310', 'B311', 'B312', 'B313', 'B314', 'B315', 'B316', 'B317', 'B318', 'B319', 'B320', 'B321', 'B323', 'B324', 'B401', 'B402', 'B403', 'B404', 'B405', 'B406', 'B407', 'B408', 'B409', 'B410', 'B411', 'B412', 'B413']
84+
[ 'B301', 'B302', 'B303', 'B304', 'B305', 'B306', 'B308', 'B310', 'B311', 'B312', 'B313', 'B314', 'B315', 'B316', 'B317', 'B318', 'B319', 'B321', 'B323', 'B324', 'B401', 'B402', 'B403', 'B404', 'B405', 'B406', 'B407', 'B408', 'B409', 'B411', 'B412', 'B413']
8785

8886
# (optional) list skipped test IDs here, eg '[B101, B406]':
8987
# The following checkers are not required but be added to tests list if desired

0 commit comments

Comments
 (0)