Skip to content

Commit

Permalink
Fix pre-commit errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
ludgerpaehler committed May 12, 2023
1 parent 95aea7e commit a046fae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion examples/data/vonKarman_pod/neksuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit a046fae

Please sign in to comment.