diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9e0eb4b4e..659986caa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,9 +38,8 @@ repos: hooks: - id: codespell types_or: [python, rst, markdown] - args: ["-L hist"] - additional_dependencies: - - tomli + additional_dependencies: [tomli] + args: ["--toml", "pyproject.toml"] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.3.0 hooks: diff --git a/examples/data/vonKarman_pod/neksuite.py b/examples/data/vonKarman_pod/neksuite.py index 2bdd6c456..a5ae818ad 100644 --- a/examples/data/vonKarman_pod/neksuite.py +++ b/examples/data/vonKarman_pod/neksuite.py @@ -100,7 +100,7 @@ def readnek(fname): # compute total number of points per element npel = lr1[0] * lr1[1] * lr1[2] - # get number of pysical dimensions + # get number of physical dimensions ndim = 2 + (lr1[2] > 1) # get number of elements diff --git a/pyproject.toml b/pyproject.toml index 0d2ce1489..8ad1f2985 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ addopts = '-m "not slow"' markers = ["slow"] [tool.codespell] -ignore-words-list = ["pres", "nd"] +ignore-words-list = "pres,nd,hist" [tool.setuptools] packages = ["pysindy"]