Skip to content

Commit

Permalink
fix line length
Browse files Browse the repository at this point in the history
  • Loading branch information
pojknamn committed Dec 24, 2024
1 parent 56d09b7 commit 0505ecc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions wemake_python_styleguide/violations/complexity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0505ecc

Please sign in to comment.