[Feature]: Refactor to reduce code complexity #1095
Labels
category: enhancement
improvements of code or code behavior
priority: low
alternative solution already working and/or relevant to only specific user(s)
topic: maintenance
Issues related to tech debt / code maintainability
Milestone
What would you like to see added to HDMF?
Some functions have high cyclomatic complexity and are therefore more challenging to understand and maintain. See NeurodataWithoutBorders/pynwb#191
We currently use
# noqa: C901
to make the functions pass the flake8/ruff C901 check.https://github.com/search?q=repo%3Ahdmf-dev%2Fhdmf%20C901&type=code
What solution would you like?
Refactor the functions into smaller ones or use less branching/complexity in those functions.
Do you have any interest in helping implement the feature?
No.
The text was updated successfully, but these errors were encountered: