Skip to content

Commit bcfe5a7

Browse files
authored
maint: migrate codespell config to pyproject.toml (#179)
2 parents de08007 + c56643b commit bcfe5a7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ repos:
1919
rev: v2.2.1
2020
hooks:
2121
- id: codespell
22-
args: ["--ignore-words", "doc/styles/Vocab/ANSYS/accept.txt"]
22+
additional_dependencies:
23+
- tomli
2324

2425
- repo: https://github.com/pycqa/pydocstyle
2526
rev: 6.1.1

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ line_length = 80
6363
default_section = "THIRDPARTY"
6464
src_paths = ["examples", "doc", "src", "tests"]
6565

66+
[tool.codespell]
67+
ignore-words = "doc/styles/Vocab/ANSYS/accept.txt"
68+
6669
[tool.coverage.run]
6770
relative_files = true
6871

0 commit comments

Comments
 (0)