Skip to content

Commit

Permalink
Fix trailing whitespace and trailing commas
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdakran committed Jan 6, 2022
1 parent f2f5126 commit 1392834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ $ git diff --staged --name-only -z | xargs -0 detect-secrets-hook --baseline .se
**Scanning All Tracked Files:**

```bash
$ git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline
$ git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline
```

### Viewing All Enabled Plugins:
Expand Down
4 changes: 2 additions & 2 deletions detect_secrets/core/secrets_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ def __iter__(self) -> Generator[Tuple[str, PotentialSecret], None, None]:
key=lambda secret: (
getattr(secret, 'line_number', 0),
secret.secret_hash,
secret.type
)
secret.type,
),
):
yield filename, secret

Expand Down

0 comments on commit 1392834

Please sign in to comment.