Skip to content

Commit dbd16e6

Browse files
committed
chore: remove unnecessary linting
1 parent 772e5eb commit dbd16e6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/scripts/tests/test_lintcommit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
1111

12-
12+
import pytest
1313
from lintcommit import lint_range, validate_message, validate_subject
1414

1515
# region validate_subject: valid subjects

.github/scripts/tests/test_parse_sdk_branch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test():
7474
for input_text, expected in test_cases:
7575
result = parse_sdk_branch(input_text)
7676
# Assert is expected in test functions
77-
assert result == expected, (
77+
assert result == expected, ( # noqa: S101
7878
f"Expected '{expected}' but got '{result}' for input: {input_text[:50]}..."
7979
)
8080

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ test = "pytest packages/examples/test {args}"
115115
[tool.ruff]
116116
line-length = 88
117117
target-version = "py311"
118-
exclude = [".github/scripts", ".github/workflows"]
118+
exclude = [".github/scripts/*.sh", ".github/workflows"]
119119

120120
[tool.ruff.lint]
121121
preview = true

0 commit comments

Comments
 (0)