From de0dae010edc563b596803570f13c39afb073172 Mon Sep 17 00:00:00 2001 From: Tyler Jang Date: Mon, 25 Sep 2023 10:31:47 -0700 Subject: [PATCH] Remove python docstrings from ruff default rules (#483) Ruff's primary offering is more than just docstrings, and this can be really noisy on init. Let's remove it and users can always add it back in. This will effect users on init and `trunk check enable ruff` and the default config we dump. See https://github.com/trunk-io/configs/pull/30 --- linters/ruff/ruff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linters/ruff/ruff.toml b/linters/ruff/ruff.toml index 346b1d9aa..f5a235cf9 100644 --- a/linters/ruff/ruff.toml +++ b/linters/ruff/ruff.toml @@ -1,5 +1,5 @@ # Generic, formatter-friendly config. -select = ["B", "D3", "D4", "E", "F"] +select = ["B", "D3", "E", "F"] # Never enforce `E501` (line length violations). This should be handled by formatters. ignore = ["E501"]