Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

tidy overly complex code #1873

Open
reidpr opened this issue Mar 22, 2024 · 0 comments
Open

tidy overly complex code #1873

reidpr opened this issue Mar 22, 2024 · 0 comments

Comments

@reidpr
Copy link
Collaborator

reidpr commented Mar 22, 2024

Split from #1860. Pylint:

  • R0902 too-many-instance-attributes
  • R0903 too-few-public-methods
  • R0904 too-many-public-methods
  • R0911 too-many-return-statements
  • R0912 too-many-branches
  • R0913 too-many-arguments
  • R0914 too-many-locals
  • R0915 too-many-statements
  • R1702 too-many-nested-blocks

Pylint complains a lot about code being too complex. In a lot of cases, I think it’s right and refactoring is warranted. This requires a lot of detailed analysis and this issue itself might best be split.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant