Skip to content

Commit f8ef9d6

Browse files
pre-commit-ci[bot]germa89pyansys-ci-bot
committed
ci: pre-commit autoupdate (#3710)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](codespell-project/codespell@v2.2.2...v2.2.4) - [github.com/python-jsonschema/check-jsonschema: 0.21.0 → 0.22.0](python-jsonschema/check-jsonschema@0.21.0...0.22.0) * Fixing codespell * Fixing pre-commit * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * simplifying accepted words list * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.1.0 → 23.3.0](psf/black@23.1.0...23.3.0) * Updating also blackend * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/adamchainz/blacken-docs: 1.13.0 → 1.14.0](adamchainz/blacken-docs@1.13.0...1.14.0) - [github.com/codespell-project/codespell: v2.2.4 → v2.2.5](codespell-project/codespell@v2.2.4...v2.2.5) - [github.com/python-jsonschema/check-jsonschema: 0.23.1 → 0.23.2](python-jsonschema/check-jsonschema@0.23.1...0.23.2) * removing vale warnings * Adding words to ignore * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.10.0 → 23.10.1](psf/black@23.10.0...23.10.1) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/python-jsonschema/check-jsonschema: 0.27.0 → 0.27.1](python-jsonschema/check-jsonschema@0.27.0...0.27.1) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.10.1 → 23.11.0](psf/black@23.10.1...23.11.0) * Updating blacken-docs * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pycqa/isort: 5.13.0 → 5.13.2](PyCQA/isort@5.13.0...5.13.2) - [github.com/psf/black: 23.11.0 → 23.12.0](psf/black@23.11.0...23.12.0) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.0 → 23.12.1](psf/black@23.12.0...23.12.1) * lower * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.1.1 → 24.2.0](psf/black@24.1.1...24.2.0) - [github.com/python-jsonschema/check-jsonschema: 0.27.4 → 0.28.0](python-jsonschema/check-jsonschema@0.27.4...0.28.0) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansys/pre-commit-hooks: v0.2.8 → v0.2.9](ansys/pre-commit-hooks@v0.2.8...v0.2.9) * installing xindy * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.3.0 → 24.4.0](psf/black@24.3.0...24.4.0) - [github.com/python-jsonschema/check-jsonschema: 0.28.1 → 0.28.2](python-jsonschema/check-jsonschema@0.28.1...0.28.2) * Updating black in blacken * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansys/pre-commit-hooks: v0.2.9 → v0.3.1](ansys/pre-commit-hooks@v0.2.9...v0.3.1) - [github.com/psf/black: 24.4.0 → 24.4.2](psf/black@24.4.0...24.4.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansys/pre-commit-hooks: v0.3.1 → v0.4.2](ansys/pre-commit-hooks@v0.3.1...v0.4.2) - [github.com/psf/black: 24.4.2 → 24.8.0](psf/black@24.4.2...24.8.0) - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](PyCQA/flake8@7.1.0...7.1.1) * chore: adding changelog file 3330.miscellaneous.md * Update .pre-commit-config.yaml * ci: pre-commit autoupdate updates: - [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](codespell-project/codespell@v2.3.0...v2.4.0) * chore: adding changelog file 3710.maintenance.md [dependabot-skip] * fix: pre-commit warnings * chore: adding changelog file 3710.documentation.md [dependabot-skip] * maint: update codespell --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: German <[email protected]> Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: German <[email protected]>
1 parent 260ba80 commit f8ef9d6

File tree

8 files changed

+12
-10
lines changed

8 files changed

+12
-10
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ repos:
5757
- id: flake8
5858

5959
- repo: https://github.com/codespell-project/codespell
60-
rev: v2.3.0
60+
rev: v2.4.1
6161
hooks:
6262
- id: codespell
6363
args: ["--toml", "pyproject.toml"]

doc/changelog.d/3330.miscellaneous.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[pre-commit.ci] pre-commit autoupdate

doc/changelog.d/3710.documentation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ci: pre-commit autoupdate

doc/source/examples/extended_examples/ex_01-gmsh_example/modal_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
mapdl.shpp("SUMM")
3636

3737
# specify material properties
38-
# using aprox values for AISI 5000 Series Steel
38+
# using approximated values for AISI 5000 Series Steel
3939
mapdl.units("SI")
4040
mapdl.mp("EX", 1, 200e9) # Elastic moduli in Pa (kg/(m*s**2))
4141
mapdl.mp("DENS", 1, 7700) # Density in kg/m3

examples/00-mapdl-examples/pressure_vessel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
# access the result
157157
result = mapdl.result
158158

159-
# Get the von Mises stess and show that this is equivalent to the
159+
# Get the von Mises stress and show that this is equivalent to the
160160
# stress obtained from MAPDL.
161161
nnum, stress = result.principal_nodal_stress(0)
162162
von_mises = stress[:, -1] # von-Mises stress is the right most column

examples/00-mapdl-examples/pyvista_mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
mapdl.emodif("ALL", "SECNUM", 1)
6363

6464
# specify material properties
65-
# using aprox values for AISI 5000 Series Steel
65+
# using approximated values for AISI 5000 Series Steel
6666
# http://www.matweb.com/search/datasheet.aspx?matguid=89d4b891eece40fbbe6b71f028b64e9e
6767
mapdl.units("SI") # not necessary, but helpful for book keeping
6868
mapdl.mp("EX", 1, 200e9) # Elastic moduli in Pa (kg/(m*s**2))

src/ansys/mapdl/core/post.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,7 +2383,7 @@ def nodal_total_eqv_strain(self) -> np.ndarray:
23832383
23842384
Examples
23852385
--------
2386-
Total quivalent strain for the current result.
2386+
Total equivalent strain for the current result.
23872387
23882388
>>> mapdl.post_processing.nodal_total_eqv_strain()
23892389
array([15488.84357602, 16434.95432337, 15683.2334295 , ...,
@@ -2757,7 +2757,7 @@ def nodal_elastic_eqv_strain(self) -> np.ndarray:
27572757
27582758
Examples
27592759
--------
2760-
Elastic quivalent strain for the current result.
2760+
Elastic equivalent strain for the current result.
27612761
27622762
>>> mapdl.post_processing.nodal_elastic_eqv_strain()
27632763
array([15488.84357602, 16434.95432337, 15683.2334295 , ...,
@@ -3138,7 +3138,7 @@ def nodal_plastic_eqv_strain(self) -> np.ndarray:
31383138
31393139
Examples
31403140
--------
3141-
Plastic quivalent strain for the current result
3141+
Plastic equivalent strain for the current result
31423142
31433143
>>> mapdl.post_processing.nodal_plastic_eqv_strain()
31443144
array([15488.84357602, 16434.95432337, 15683.2334295 , ...,
@@ -3526,7 +3526,7 @@ def nodal_thermal_eqv_strain(self) -> np.ndarray:
35263526
35273527
Examples
35283528
--------
3529-
Thermal quivalent strain for the current result.
3529+
Thermal equivalent strain for the current result.
35303530
35313531
>>> mapdl.post_processing.nodal_thermal_eqv_strain()
35323532
array([15488.84357602, 16434.95432337, 15683.2334295 , ...,
@@ -3618,7 +3618,7 @@ def nodal_contact_friction_stress(self) -> np.ndarray:
36183618
36193619
Examples
36203620
--------
3621-
Thermal quivalent strain for the current result.
3621+
Thermal equivalent strain for the current result.
36223622
36233623
>>> mapdl.post_processing.nodal_contact_friction_stress()
36243624
array([15488.84357602, 16434.95432337, 15683.2334295 , ...,

tests/test_dpf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def test_upload(skip_dpf, mapdl, solved_box, tmpdir):
6565
# Download RST file
6666
rst_path = mapdl.download_result(str(tmpdir.mkdir("tmpdir")))
6767

68-
# Stabilishing connection
68+
# Establishing connection
6969
grpc_con = dpf.connect_to_server(port=DPF_PORT)
7070
assert grpc_con.live
7171

0 commit comments

Comments
 (0)