From d60bf20cb6e02ef1099e5fc0e1e58d7c0c221ff4 Mon Sep 17 00:00:00 2001 From: Sietze van Buuren Date: Mon, 18 Nov 2024 19:29:49 +0100 Subject: [PATCH] style: Update ruff linting rules Remove deprecated rules and enable preview rules Signed-off-by: Sietze van Buuren --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7fb73c7..d8b1e71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,7 @@ line-length = 80 indent-width = 4 [tool.ruff.lint] +preview = true extend-select = [ "D419", # empty-docstring "E501", # line-too-long @@ -58,7 +59,6 @@ extend-select = [ "PLC2401", # non-ascii-name "PLC2801", # unnecessary-dunder-call "PLC3002", # unnecessary-direct-lambda-call - "E999", # syntax-error "PLE0101", # return-in-init "F706", # return-outside-function "F704", # yield-outside-function