Skip to content

Conversation

@ahal
Copy link
Collaborator

@ahal ahal commented Dec 30, 2024

No description provided.

@ahal ahal requested a review from a team December 30, 2024 16:39
@ahal ahal self-assigned this Dec 30, 2024
@ahal ahal requested a review from bhearsum December 30, 2024 16:39
if not task["run"].get("use-caches", True):
use_caches = task["run"].get("use-caches", True)
if isinstance(use_caches, list):
use_caches = any(re.match(r, name) for r in use_caches)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: rename r to pattern? Not a huge fan of single letter variable especially when they're so close to another one in the same scope (re). I don't have super strong opinions though so feel free to ignore.

@ahal ahal force-pushed the push-rvmpmxqqwkkw branch from 3f7070c to 07ab89c Compare January 2, 2025 15:01
@ahal ahal merged commit a70a57c into taskcluster:main Jan 2, 2025
16 checks passed
@ahal ahal deleted the push-rvmpmxqqwkkw branch January 2, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants