Skip to content

Remove Bandit tests B320 and B410.#1706

Merged
djdameln merged 1 commit intoopen-edge-platform:releases/1.10.0from
gdlg:gppayend/bandit
Jan 28, 2025
Merged

Remove Bandit tests B320 and B410.#1706
djdameln merged 1 commit intoopen-edge-platform:releases/1.10.0from
gdlg:gppayend/bandit

Conversation

@gdlg
Copy link
Contributor

@gdlg gdlg commented Jan 28, 2025

Summary

This PR disables Bandit scans which have been removed in the latest version of Bandit.

See for background information:

How to test

Checklist

  • 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.​
  • I have updated the documentation accordingly

License

  • I submit my code changes under the same MIT 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).
# Copyright (C) 2024 Intel Corporation
#
# SPDX-License-Identifier: MIT

Those tests have been removed in the latest version of Bandit. See:
* PyCQA/bandit#1212
* PyCQA/bandit#767
@gdlg gdlg requested review from a team as code owners January 28, 2025 12:55
@gdlg gdlg requested review from itrushkin and removed request for a team January 28, 2025 12:55
@codecov
Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.14%. Comparing base (0a76ae9) to head (7016bea).
Report is 3 commits behind head on releases/1.10.0.

Additional details and impacted files
@@               Coverage Diff                @@
##           releases/1.10.0    #1706   +/-   ##
================================================
  Coverage            81.14%   81.14%           
================================================
  Files                  284      284           
  Lines                32891    32891           
  Branches              5299     5299           
================================================
  Hits                 26690    26690           
  Misses                4750     4750           
  Partials              1451     1451           
Flag Coverage Δ
ubuntu-24.04_Python-3.12 81.12% <ø> (+<0.01%) ⬆️
windows-2022_Python-3.12 81.12% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@djdameln djdameln left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@djdameln djdameln merged commit 41fbe5a into open-edge-platform:releases/1.10.0 Jan 28, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants