Skip to content
Snippets Groups Projects
Commit 0390b15f authored by Jose Raul Barreras's avatar Jose Raul Barreras
Browse files

improve doc

parent 3b765fdc
No related branches found
No related tags found
4 merge requests!34develop to master,!18sync dependency-check with secrets-detection,!17Resolve "Add Dependency Check",!16Resolve "Add Automated Secrets Detection"
...@@ -27,4 +27,4 @@ This file is automatically updated after execute `git commit` based on the conte ...@@ -27,4 +27,4 @@ This file is automatically updated after execute `git commit` based on the conte
- its-registry.unl.edu/unl-its/docker-ci/static-code-analysis:python - its-registry.unl.edu/unl-its/docker-ci/static-code-analysis:python
_Last update: Thu May 30 17:58:53 CDT 2019_ _Last update: Thu May 30 18:00:40 CDT 2019_
......
...@@ -26,8 +26,10 @@ variables: ...@@ -26,8 +26,10 @@ variables:
# Inline Allowlisting # Inline Allowlisting
To tell detect-secrets to ignore a particular line of code, simply append an inline pragma: allowlist secret comment. For example: To tell detect-secrets to ignore a particular line of code, simply append an inline pragma: allowlist secret comment. For example:
```python
API_KEY = "blah-blah-but-actually-not-secret" # pragma: allowlist secret API_KEY = "blah-blah-but-actually-not-secret" # pragma: allowlist secret
print('hello world') print('hello world')
```
Inline commenting syntax for a multitude of languages is supported: Inline commenting syntax for a multitude of languages is supported:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment