Skip to content

Commit 08af338

Browse files
authored
chore: Added codacy config to exclude the tests/ directory from Bandit analysis. (hiero-ledger#1887)
Signed-off-by: Manish Dait <daitmanish88@gmail.com>
1 parent 71c9f0d commit 08af338

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

.codacy.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
engines:
3+
bandit:
4+
enabled: true
5+
arguments:
6+
- "-s"
7+
- "B101"
8+
exclude_paths:
9+
- tests/**

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
1515
- Added advanced code review prompts for the `src/hiero_sdk_python/file` module in `.coderabbit.yaml` to guide reviewers in verifying proper `FileAppendTransaction` chunking constraints and nuances in memo handling for `FileUpdateTransaction` according to Hiero SDK best practices. (#1697)
1616
- Added CodeRabbit review instructions for consensus module `src/hiero_sdk_python/consensus/` with critical focus on protobuf alignment `.coderabbit.yaml`.
1717
- Added CodeRabbit prompt to review the `src/hiero_sdk_python/crypto` module.
18+
- Added `.codacy.yml` configuration to exclude the `tests/` directory from Bandit `assert` analysis.
1819

1920
### Fixed
2021

0 commit comments

Comments
 (0)