Skip to content

Commit

Permalink
Remove tomli dependency in pre-commit (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGrace2282 authored Aug 7, 2024
1 parent 6d6d219 commit b86797f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ repos:
hooks:
- id: codespell
files: ^.*\.(py|md|rst)$
# TODO: Remove after python version >= 3.11
additional_dependencies:
- tomli
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
hooks:
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,7 @@ line-ending = "lf"

[tool.codespell]
write-changes = true
ignore-words-list = ["num", "ans"]
# this has to be a string of the form a,b,c
# ignore-words-list = ""
# ignore comments like: # codespell: ignore
ignore-regex=".+# *codespell: *ignore.*"

0 comments on commit b86797f

Please sign in to comment.