Skip to content

Commit

Permalink
ignore ruff s105 rule
Browse files Browse the repository at this point in the history
  • Loading branch information
oraNod committed Aug 9, 2024
1 parent 1af83bb commit a473fe7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/test_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import re
import subprocess
import sys

from pathlib import Path

import pytest
Expand Down Expand Up @@ -92,7 +93,7 @@ def test_lint_collection(scaffold_collection: Path) -> None:
print("Ansible-lint output:")
print(output)

lint_pass = r"Passed: 0 failure\(s\), 0 warning\(s\) on \d+ files\."
lint_pass = r"Passed: 0 failure\(s\), 0 warning\(s\) on \d+ files\." # noqa: S105 # ignore rule for hardcoded password

match = re.search(lint_pass, output, re.MULTILINE)

Expand Down

0 comments on commit a473fe7

Please sign in to comment.