Update our pre-commit dependencies (#4273)

* .pre-commit-config.yaml: mypy directories that pass

* updating DIRECTORY.md

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Christian Clauss
2021-03-20 06:12:17 +01:00
committed by GitHub
parent b8a19ccfea
commit 987567360e
4 changed files with 10 additions and 10 deletions

View File

@ -5,7 +5,7 @@ def evaluate_poly(poly: Sequence[float], x: float) -> float:
"""Evaluate a polynomial f(x) at specified point x and return the value.
Arguments:
poly -- the coeffiecients of a polynomial as an iterable in order of
poly -- the coefficients of a polynomial as an iterable in order of
ascending degree
x -- the point at which to evaluate the polynomial
@ -26,7 +26,7 @@ def horner(poly: Sequence[float], x: float) -> float:
https://en.wikipedia.org/wiki/Horner's_method
Arguments:
poly -- the coeffiecients of a polynomial as an iterable in order of
poly -- the coefficients of a polynomial as an iterable in order of
ascending degree
x -- the point at which to evaluate the polynomial