Skip to content

Commit 1d58f7a

Browse files
committed
Fix a ruff issue
1 parent 5d98da5 commit 1d58f7a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/custom_linters.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ def test_tests_collected_once() -> None:
6060
ci_patterns = _ci_patterns()
6161
tests_to_patterns: dict[str, set[str]] = {}
6262
for pattern in ci_patterns:
63-
pattern = "tests/mock_vws/" + pattern
64-
tests = _tests_from_pattern(ci_pattern=pattern)
63+
pattern_in_dir = "tests/mock_vws/" + pattern
64+
tests = _tests_from_pattern(ci_pattern=pattern_in_dir)
6565
for test in tests:
6666
if test in tests_to_patterns:
67-
tests_to_patterns[test].add(pattern)
67+
tests_to_patterns[test].add(pattern_in_dir)
6868
else:
69-
tests_to_patterns[test] = {pattern}
69+
tests_to_patterns[test] = {pattern_in_dir}
7070

7171
for test_name, patterns in tests_to_patterns.items():
7272
message = (

0 commit comments

Comments
 (0)