Skip to content

feat: add Brent's method for root finding in maths/numerical_analysis folder #14883

feat: add Brent's method for root finding in maths/numerical_analysis folder

feat: add Brent's method for root finding in maths/numerical_analysis folder #14883

Triggered via pull request October 7, 2025 04:34
Status Failure
Total duration 11s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
ruff
Process completed with exit code 1.
Ruff (E501): maths/numerical_analysis/brent_method.py#L67
maths/numerical_analysis/brent_method.py:67:89: E501 Line too long (131 > 88)
Ruff (E501): maths/numerical_analysis/brent_method.py#L60
maths/numerical_analysis/brent_method.py:60:89: E501 Line too long (99 > 88)
Ruff (E501): maths/numerical_analysis/brent_method.py#L44
maths/numerical_analysis/brent_method.py:44:89: E501 Line too long (100 > 88)
Ruff (E501): maths/numerical_analysis/brent_method.py#L43
maths/numerical_analysis/brent_method.py:43:89: E501 Line too long (94 > 88)
Ruff (B007): maths/numerical_analysis/brent_method.py#L37
maths/numerical_analysis/brent_method.py:37:9: B007 Loop control variable `iteration` not used within loop body
Ruff (E501): maths/numerical_analysis/brent_method.py#L31
maths/numerical_analysis/brent_method.py:31:89: E501 Line too long (90 > 88)
Ruff (I001): maths/numerical_analysis/brent_method.py#L20
maths/numerical_analysis/brent_method.py:20:1: I001 Import block is un-sorted or un-formatted
Ruff (UP035): maths/numerical_analysis/brent_method.py#L20
maths/numerical_analysis/brent_method.py:20:1: UP035 Import from `collections.abc` instead: `Callable`