diff --git a/earthly/rust/stdcfgs/clippy.toml b/earthly/rust/stdcfgs/clippy.toml index 0358cdb50..7bada5473 100644 --- a/earthly/rust/stdcfgs/clippy.toml +++ b/earthly/rust/stdcfgs/clippy.toml @@ -1,2 +1,3 @@ allow-unwrap-in-tests = true allow-expect-in-tests = true +allow-panic-in-tests = true diff --git a/examples/rust/clippy.toml b/examples/rust/clippy.toml index 0358cdb50..7bada5473 100644 --- a/examples/rust/clippy.toml +++ b/examples/rust/clippy.toml @@ -1,2 +1,3 @@ allow-unwrap-in-tests = true allow-expect-in-tests = true +allow-panic-in-tests = true diff --git a/utilities/earthly-cache-watcher/main.py b/utilities/earthly-cache-watcher/main.py index 66485d612..5174b26e2 100644 --- a/utilities/earthly-cache-watcher/main.py +++ b/utilities/earthly-cache-watcher/main.py @@ -5,7 +5,7 @@ import threading import time from collections.abc import Callable -from typing import Set +from typing import set from dotenv import dotenv_values from loguru import logger @@ -64,8 +64,8 @@ def __init__(self, interval: int): self.layer_growth_index: dict[str, int] = {} self.layer_index: dict[str, int] = {} self.file_index: dict[str, int] = {} - self.triggered_layers: Set[str] = set() - self.triggered_growth_layers: Set[str] = set() + self.triggered_layers: set[str] = set() + self.triggered_growth_layers: set[str] = set() self.interval = Interval(interval, self.handle_interval_change) self.list_initial_sizes()