Skip to content

Commit

Permalink
Merge pull request #17 from libranet/fix-bandit-asserts
Browse files Browse the repository at this point in the history
fix bandits asserts alerts
  • Loading branch information
woutervh authored Dec 12, 2024
2 parents 3c4f15b + 2646174 commit e8147dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dependabot-auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ jobs:
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.GITHUB_TOKEN }}
# github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.TOKEN_AUTOMERGE }}
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exclude_dirs = [".venv", "var"]
recursive = true
skips = [
# see https://bandit.readthedocs.io/en/1.7.3/plugins/index.html#plugin-id-groupings
# "B101", # assert_used
"B101", # assert_used
]
targets = ["docs", "src", "tests"]

Expand All @@ -38,7 +38,7 @@ targets = ["docs", "src", "tests"]
[tool.black]
include = '\.py$' # regex -> single-quotes
line-length = 120
target-version = ["py310"]
target-version = ["py312"]


[tool.coverage.html]
Expand Down

0 comments on commit e8147dc

Please sign in to comment.