Use TypeError/ValueError instead of AssertionError in simpson_integration#14836
Closed
Adichapati wants to merge 2 commits into
Closed
Use TypeError/ValueError instead of AssertionError in simpson_integration#14836Adichapati wants to merge 2 commits into
Adichapati wants to merge 2 commits into
Annotations
6 errors
|
Run uvx ruff check --output-format=github .
Process completed with exit code 1.
|
|
Run uvx ruff check --output-format=github .:
maths/numerical_analysis/integration_by_simpson_approx.py#L110
maths/numerical_analysis/integration_by_simpson_approx.py:110:13: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
Run uvx ruff check --output-format=github .:
maths/numerical_analysis/integration_by_simpson_approx.py#L107
maths/numerical_analysis/integration_by_simpson_approx.py:107:25: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
Run uvx ruff check --output-format=github .:
maths/numerical_analysis/integration_by_simpson_approx.py#L103
maths/numerical_analysis/integration_by_simpson_approx.py:103:13: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
Run uvx ruff check --output-format=github .:
maths/numerical_analysis/integration_by_simpson_approx.py#L100
maths/numerical_analysis/integration_by_simpson_approx.py:100:25: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
Run uvx ruff check --output-format=github .:
maths/numerical_analysis/integration_by_simpson_approx.py#L97
maths/numerical_analysis/integration_by_simpson_approx.py:97:13: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
background
wait
wait-all
cancel
parallel
Loading