Skip to content

Commit e32e91b

Browse files
committed
build(pre-commit): spellcheck ignore poetry.lock
1 parent b94e1e6 commit e32e91b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,30 @@ repos:
2020
- id: end-of-file-fixer
2121
exclude: "tests/((commands|data)/|test_).+"
2222
- id: trailing-whitespace
23-
args: [--markdown-linebreak-ext=md]
23+
args: [ --markdown-linebreak-ext=md ]
2424
- id: debug-statements
2525
- id: no-commit-to-branch
2626
- id: check-merge-conflict
2727
- id: check-toml
2828
- id: check-yaml
29-
args: ['--unsafe'] # for mkdocs.yml
29+
args: [ '--unsafe' ] # for mkdocs.yml
3030
- id: detect-private-key
3131

3232
- repo: https://github.com/asottile/blacken-docs
3333
rev: 1.13.0
3434
hooks:
3535
- id: blacken-docs
36-
additional_dependencies: [black==22.10]
36+
additional_dependencies: [ black==22.10 ]
3737

3838
- repo: https://github.com/codespell-project/codespell
3939
rev: v2.2.4
4040
hooks:
4141
- id: codespell
4242
name: Run codespell to check for common misspellings in files
4343
language: python
44-
types: [text]
45-
args: ["--write-changes", "--ignore-words-list", "asend"]
44+
types: [ text ]
45+
args: [ "--write-changes", "--ignore-words-list", "asend" ]
46+
exclude: "poetry.lock"
4647

4748
- repo: https://github.com/commitizen-tools/commitizen
4849
rev: v3.6.0 # automatically updated by Commitizen
@@ -60,12 +61,12 @@ repos:
6061
language: system
6162
pass_filenames: false
6263
entry: ./scripts/format
63-
types: [python]
64+
types: [ python ]
6465

6566
- id: linter and test
6667
name: linter and test
6768
language: system
6869
pass_filenames: false
69-
stages: [push]
70+
stages: [ push ]
7071
entry: ./scripts/test
71-
types: [python]
72+
types: [ python ]

0 commit comments

Comments
 (0)