From 078f73f3f8ab81a9a0bb4fafa06ddb6a020de28d Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Tue, 8 Oct 2024 15:45:21 -0700 Subject: [PATCH] core: ruff encoding rule preview --- libs/core/pyproject.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.toml index 80ef45805d2..6a9b806d8c8 100644 --- a/libs/core/pyproject.toml +++ b/libs/core/pyproject.toml @@ -73,13 +73,16 @@ select = [ "TID", "UP", "W", - "YTT" + "YTT", + "PLW1514", ] ignore = [ "COM812", # Messes with the formatter "UP007", # Incompatible with pydantic + Python 3.9 "W293", # ] +preview = true +explicit-preview-rules = true [tool.coverage.run] omit = [ "tests/*",]