From 06e678f26fbda03eaf702c362e8f9684b28bc492 Mon Sep 17 00:00:00 2001 From: cswimr Date: Sun, 26 Jan 2025 01:52:46 +0000 Subject: [PATCH] style(repo): enable some more linting rules --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ccf98da..d38352f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,8 +84,8 @@ target-version = "py311" # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or # McCabe complexity (`C901`) by default. -select = ["F", "W", "E", "C901"] -ignore = ["C901"] +select = ["I", "N", "F", "W", "E", "G", "INP", "T20", "PLC", "PLE", "PLW", "PLR"] +ignore = ["PLR0912", "PLR0915", "PLR2004"] # Allow fix for all enabled rules (when `--fix`) is provided. fixable = ["ALL"]