Skip to content

Commit

Permalink
maint: update pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgepiloto committed Aug 31, 2023
1 parent 080e8ce commit 1152760
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 52 deletions.
19 changes: 10 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ exclude: |
repos:

- repo: https://github.com/psf/black
rev: 23.1.0 # IF VERSION CHANGES --> MODIFY "blacken-docs" MANUALLY AS WELL!!
rev: 23.7.0 # IF VERSION CHANGES --> MODIFY "blacken-docs" MANUALLY AS WELL!!
hooks:
- id: black
args:
- --line-length=120

- repo: https://github.com/asottile/blacken-docs
rev: 1.16.0
hooks:
- id: blacken-docs
additional_dependencies: [black==23.7.0]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
hooks:
Expand All @@ -20,17 +26,17 @@ repos:
args: ['--force-single-line-imports', '--profile', 'black']

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
args:
- --max-line-length=120

- repo: https://github.com/codespell-project/codespell
rev: v2.2.2
rev: v2.2.5
hooks:
- id: codespell
args: ["--ignore-words=ignore_words.txt"]
args: ["--ignore-words=doc/styles/Vocab/ANSYS/accept.txt"]

# - repo: https://github.com/python-jsonschema/check-jsonschema
# rev: 0.21.0
Expand All @@ -44,8 +50,3 @@ repos:
# additional_dependencies: [toml]
# exclude: "tests/"

- repo: https://github.com/asottile/blacken-docs
rev: 1.13.0
hooks:
- id: blacken-docs
additional_dependencies: [black==23.1.0]
54 changes: 42 additions & 12 deletions doc/styles/Vocab/ANSYS/accept.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,50 @@
ANSYS
Ansys
ansys
aadd
aedt
AEDT
AEDT's
PyAEDT
toolkits
pyaedt
ans
ansys
Ansys
ANSYS
appen
Bowtie
bowtieREnabled
CPython
rst
datas
delet
docstring
emiss
extrem
filname
fo
GitHub
UI
HFSS
imagin
ist
levl
mater
mot
nam
new_toolkit_name
nin
parm
pres
pyaedt
PyAEDT
renabled
ro
rst
sie
sord
struc
te
toml
toolkits
tread
ue
ui
UI
url
HFSS
docstring
Bowtie
bowtie
vise
wan
WAN
31 changes: 0 additions & 31 deletions ignore_words.txt

This file was deleted.

0 comments on commit 1152760

Please sign in to comment.