BlueBrain/eFEL

View on GitHub
efel/settings.py

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function set_setting has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.
Open

def set_setting(self,
setting_name: str,
new_value: Union[int, float, str, bool]) -> None:
"""Set a certain setting to a new value.
 
 
Severity: Minor
Found in efel/settings.py - About 1 hr to fix
Category
Status