Skip to content

Commit

Permalink
Merge pull request #598 from Pikabanga/pikabanga/fix-e275
Browse files Browse the repository at this point in the history
Fix "E275 missing whitespace after keyword"
  • Loading branch information
lorenzodb1 committed Aug 5, 2022
2 parents 8a65417 + ab27020 commit 88a3fc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion detect_secrets/plugins/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def analyze_line(
is_verified: bool = False
# If the filter is disabled it means --no-verify flag was passed
# We won't run verification in that case
if(
if (
'detect_secrets.filters.common.is_ignored_due_to_verification_policies'
in get_settings().filters
):
Expand Down
10 changes: 5 additions & 5 deletions tests/pre_commit_hook_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ def test_console_output_json_formatting():

# Assert formatting
data = json.loads(capturedOutput.getvalue())
assert(data['version'])
assert(data['plugins_used'])
assert(data['filters_used'])
assert(data['results'])
assert(data['generated_at'])
assert (data['version'])
assert (data['plugins_used'])
assert (data['filters_used'])
assert (data['results'])
assert (data['generated_at'])


class TestModifiesBaselineFromVersionChange:
Expand Down

0 comments on commit 88a3fc1

Please sign in to comment.