Skip to content

Commit e234e27

Browse files
Merge pull request #1446 from VWS-Python/dependabot/pip/requirements/ruff-0.0.253
Bump ruff from 0.0.251 to 0.0.253 in /requirements
2 parents 2baabbc + 1d58f7a commit e234e27

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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 = (

requirements/dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pytest-cov==4.0.0 # Measure code coverage
2121
pytest-envfiles==0.1.0 # Use files for environment variables for tests
2222
pytest==7.2.1 # Test runners
2323
requests-mock-flask==2022.4.3
24-
ruff==0.0.251
24+
ruff==0.0.253
2525
sphinx-autodoc-typehints==1.22
2626
sphinx-prompt==1.5.0
2727
sphinx_paramlinks==0.5.4

0 commit comments

Comments
 (0)