diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 53725e7953..02c5959c3c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: - id: flake8 - repo: https://github.com/codespell-project/codespell - rev: v2.2.5 + rev: v2.2.6 hooks: - id: codespell args: ["--toml", "pyproject.toml"] @@ -47,6 +47,6 @@ repos: # this validates our github workflow files - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.26.3 + rev: 0.27.0 hooks: - id: check-github-workflows diff --git a/doc/styles/Vocab/ANSYS/accept.txt b/doc/styles/Vocab/ANSYS/accept.txt index 3ad42dd7dd..f6c734f578 100644 --- a/doc/styles/Vocab/ANSYS/accept.txt +++ b/doc/styles/Vocab/ANSYS/accept.txt @@ -83,6 +83,7 @@ MacOS MAPDL mater MATLAB +matricies mesher midside Mises @@ -93,12 +94,14 @@ nce Newton-Raphson nin nonlinearities +NORML NumPy onefile optiSLang parm performant PMLs +POIN Poisson postprocessor Prasanna diff --git a/pyproject.toml b/pyproject.toml index ac81383693..e852df590d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -155,3 +155,4 @@ show_missing = true skip = '*.pyc,*.txt,*.gif,*.png,*.jpg,*.js,*.html,*.doctree,*.ttf,*.woff,*.woff2,*.eot,*.mp4,*.inv,*.pickle,*.ipynb,flycheck*,./.git/*,./.hypothesis/*,*.yml,./doc/build/*,./doc/images/*,./dist/*,*~,.hypothesis*,./doc/source/examples/*,*cover,*.dat,*.mac,build,./docker/mapdl/v*,./factory/*,./ansys/mapdl/core/mapdl_functions.py,PKG-INFO,*.mypy_cache/*,./docker/mapdl/*,./_unused/*' ignore-words = "doc/styles/Vocab/ANSYS/accept.txt" quiet-level = 3 +ignore-regex=".*codespell-ignore$|NORML|POIN" \ No newline at end of file diff --git a/src/ansys/mapdl/core/_commands/post1_/results.py b/src/ansys/mapdl/core/_commands/post1_/results.py index 4d5b6e52e5..bef634763d 100644 --- a/src/ansys/mapdl/core/_commands/post1_/results.py +++ b/src/ansys/mapdl/core/_commands/post1_/results.py @@ -1004,7 +1004,7 @@ def sumtype(self, label="", **kwargs): sessions. SUMTYPE,PRIN also causes principal nodal values to be the average of - the contibuting principal element nodal values (see AVPRIN,1). + the contributing principal element nodal values (see AVPRIN,1). BEAM188 and BEAM189 elements compute principal stress, equivalent stress, and stress intensity values on request instead of storing them diff --git a/src/ansys/mapdl/core/launcher.py b/src/ansys/mapdl/core/launcher.py index aff0436476..f29b40e55e 100644 --- a/src/ansys/mapdl/core/launcher.py +++ b/src/ansys/mapdl/core/launcher.py @@ -878,7 +878,7 @@ def _validate_MPI(add_sw, exec_path, force_intel=False): ): # Workaround to fix a problem when launching ansys in 'dmp' mode in the # recent windows version and using VPN. - # This is due to the intel compiler, and only afects versions between + # This is due to the intel compiler, and only affects versions between # 210 and 222. # # There doesn't appear to be an easy way to check if we diff --git a/src/ansys/mapdl/core/mesh/mesh.py b/src/ansys/mapdl/core/mesh/mesh.py index 19a27954e5..d68b35e1b7 100644 --- a/src/ansys/mapdl/core/mesh/mesh.py +++ b/src/ansys/mapdl/core/mesh/mesh.py @@ -36,7 +36,7 @@ 7: "QUAD", 8: "TRI6", 9: "QUA8", - 10: "POIN", + 10: "POIN", # codespell-ignore 11: "CIRC", 12: "", 13: "", diff --git a/tests/test_mesh_grpc.py b/tests/test_mesh_grpc.py index a8bb3b589c..4afc487f8c 100644 --- a/tests/test_mesh_grpc.py +++ b/tests/test_mesh_grpc.py @@ -152,7 +152,7 @@ def test_tshape_key(mapdl, contact_geom_and_mesh): def test_save(mapdl, cube_geom_and_mesh): - # This test seems to fail when paralelized. + # This test seems to fail when parallelized. fname = "mesh.vtk" for binary_ in [True, False]: mapdl.mesh.save(fname, binary_)