Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
exclude: |
(?x)(
doc/source/conf.py
)

exclude: "(?x)(\n doc/source/conf.py\n)\n"
repos:

- repo: https://github.com/psf/black
Expand All @@ -14,7 +10,8 @@ repos:
rev: 1.16.0
hooks:
- id: blacken-docs
additional_dependencies: [black==22.3.0]
additional_dependencies:
- black==22.3.0

- repo: https://github.com/pycqa/isort
rev: 5.12.0
Expand All @@ -26,14 +23,21 @@ repos:
hooks:
- id: flake8
args:
- --max-line-length=200
- --max-line-length=200

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
args: ["--ignore-words", "doc/styles/config/vocabularies/ANSYS/accept.txt", "-w"]
exclude: >
(?x)^(
.*\.css
)$
args:
- --ignore-words
- doc/styles/config/vocabularies/ANSYS/accept.txt
- -w
exclude: "(?x)^(\n .*\\.css\n)$"

- repo: https://github.com/ansys/pre-commit-hooks
rev: v0.5.2
hooks:
- id: add-license-headers
args:
- --start_year=2024
Loading