diff --git a/README.md b/README.md index 86cd96856ae55594ea41ceee1ada0304d7e5c5cf..ea5b7354b3af8e341a33a06455c923e88638d10d 100644 --- a/README.md +++ b/README.md @@ -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 - _Last update: Thu May 30 17:58:53 CDT 2019_ + _Last update: Thu May 30 18:00:40 CDT 2019_ diff --git a/examples/Detect-Secrets.md b/examples/Detect-Secrets.md index 17e981a6920a6b2d9287c54375d133e97b59beca..cfc1e5e3aef199969ee7c5bef6d699c5e2e5810d 100644 --- a/examples/Detect-Secrets.md +++ b/examples/Detect-Secrets.md @@ -26,8 +26,10 @@ variables: # Inline Allowlisting 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 print('hello world') +``` Inline commenting syntax for a multitude of languages is supported: