Open ddundo opened 5 months ago
Edit: After #204, only C901 errors remain:
goalie/adjoint.py:187:9: C901 `get_solve_blocks` is too complex (13 > 10)
goalie/adjoint.py:384:9: C901 `solve_adjoint` is too complex (38 > 10)
goalie/error_estimation.py:63:5: C901 `get_dwr_indicator` is too complex (14 > 10)
goalie/go_mesh_seq.py:286:9: C901 `fixed_point_iteration` is too complex (11 > 10)
goalie/mesh_seq.py:494:9: C901 `_solve_forward` is too complex (12 > 10)
goalie/metric.py:64:5: C901 `space_time_normalise` is too complex (16 > 10)
test_adjoint/test_adjoint.py:78:5: C901 `test_adjoint_same_mesh` is too complex (18 > 10)
These will be addressed at a later point, after the restructuring of goalie (#189).
The current linter does not seem to catch
B
andC
rules even though they are enabled in.flake8
.Running the ruff linter caught the following: