From 6efff675f252bb9a6f9c1648c28f807de5bbaa72 Mon Sep 17 00:00:00 2001 From: Martin Rys Date: Mon, 16 Sep 2024 15:57:52 +0200 Subject: [PATCH] ruff.toml: Set max line length to 120 as it definitely isn't 80 even in the current codebase --- ruff.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ruff.toml b/ruff.toml index cda8606a..7ba238f5 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,4 +1,6 @@ target-version = "py38" +# Project uses 80 sporadically, so just do soft 80 and hard break at 120 +line-length = 120 [lint.flake8-quotes] # Existing codebase was already mostly doublequoted @@ -12,5 +14,6 @@ indent-style = 'tab' [lint] select = ['ALL'] -# W191 - We use tabs like sane people, so disable this atrocious PEP 8 recommendation -ignore = ['W191'] +ignore = [ + 'W191', # We use tabs for indents, disabling this atrocious PEP 8 recommendation +]