Skip to content

Commit 30488b2

Browse files
committed
Revert "chore: replace Codacy with Bandit in CI and pre-commit"
This reverts commit 946113c.
1 parent 656c28a commit 30488b2

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

.github/workflows/test.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,6 @@ on:
1717

1818

1919
jobs:
20-
security:
21-
runs-on: ubuntu-latest
22-
steps:
23-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 #v6.0.3
24-
25-
- name: Set up Python 3.10
26-
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 #v6.2.0
27-
with:
28-
python-version: "3.10"
29-
30-
- name: Install Bandit
31-
run: python3 -m pip install "bandit[toml]"
32-
33-
- name: Run Bandit security scan
34-
continue-on-error: true
35-
run: bandit -c pyproject.toml -r clang_tools/
36-
3720
test:
3821
strategy:
3922
matrix:

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ tracker = "https://github.com/cpp-linter/clang-tools-pip/issues"
4646

4747
[project.optional-dependencies]
4848
dev = [
49-
"bandit[toml]",
5049
"coverage[toml]",
5150
"pre-commit",
5251
"pytest",
@@ -87,9 +86,6 @@ testpaths = ["tests"]
8786
show_error_codes = true
8887
show_column_numbers = true
8988

90-
[tool.bandit]
91-
exclude_dirs = ["tests"]
92-
9389
[tool.coverage]
9490
[tool.coverage.run]
9591
dynamic_context = "test_function"

0 commit comments

Comments
 (0)