From 0505ecc0683bcf52fa498da763fa250f4c74d1f4 Mon Sep 17 00:00:00 2001 From: pojk Date: Tue, 24 Dec 2024 19:55:41 +0300 Subject: [PATCH] fix line length --- wemake_python_styleguide/violations/complexity.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/wemake_python_styleguide/violations/complexity.py b/wemake_python_styleguide/violations/complexity.py index 4d5c7ff14..3480e89a9 100644 --- a/wemake_python_styleguide/violations/complexity.py +++ b/wemake_python_styleguide/violations/complexity.py @@ -1375,10 +1375,11 @@ class TooManyMatchCaseViolation(ASTViolation): to manually add all match cases. Solution: - Refactor the ``match`` statement by breaking the logic into smaller, focused functions. - This will improve readability and maintainability. - Split complex logic into separate functions to keep each one concise, reducing the size - of the ``match`` block and making the code easier to understand and modify. + Refactor the ``match`` statement by breaking the logic into smaller, + focused functions. This will improve readability and maintainability. + Split complex logic into separate functions to keep each one concise, + reducing the size of the ``match`` block and making the code easier + to understand and modify. Configuration: