Skip to content

Commit

Permalink
Testing building
Browse files Browse the repository at this point in the history
  • Loading branch information
danmilne1 committed Sep 5, 2023
1 parent 59ff42c commit 16e2cea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions {{ cookiecutter.repo_name }}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ repos:
name: detect-secrets - Detect secrets in staged code
args: [ "--baseline", ".secrets.baseline" ]
exclude: .*/tests/.*|^\.cruft\.json$
- repo: https://github.com/PyCQA/bandit
rev: '1.7.5'
hooks:
- id: bandit
name: bandit - Checks for vulnerabilities
args: ["c", "pyproject.toml"]
additional_dependencies: ["bandit[toml]"]
#- repo: https://github.com/PyCQA/bandit
#rev: '1.7.5'
#hooks:
#- id: bandit
#name: bandit - Checks for vulnerabilities
#args: ["c", "pyproject.toml"]
#additional_dependencies: ["bandit[toml]"]
{% if cookiecutter.using_R == "Yes" %}
# R specific hooks: https://github.com/lorenzwalthert/precommit
- repo: https://github.com/lorenzwalthert/precommit
Expand Down
6 changes: 3 additions & 3 deletions {{ cookiecutter.repo_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ testpaths = [
]

# `bandit' configurations
[tool.bandit]
exclude_dirs = ["tests", "docs"]
skips = []
#[tool.bandit]
#exclude_dirs = ["tests", "docs"]
#skips = []

0 comments on commit 16e2cea

Please sign in to comment.