Skip to content

Commit de0d586

Browse files
pre-commit-ci[bot]germa89pyansys-ci-bot
committed
ci: pre-commit autoupdate (#3723)
* [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 * ci: pre-commit autoupdate updates: - [github.com/pycqa/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0) - [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0) - [github.com/python-jsonschema/check-jsonschema: 0.31.0 → 0.31.1](python-jsonschema/check-jsonschema@0.31.0...0.31.1) * chore: adding changelog file 3723.maintenance.md [dependabot-skip] * ci: auto fixes from pre-commit.com hooks. for more information, see https://pre-commit.ci * build: update black * ci: auto fixes from pre-commit.com hooks. for more information, see https://pre-commit.ci --------- 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 12a64c2 commit de0d586

File tree

9 files changed

+17
-18
lines changed

9 files changed

+17
-18
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- --start_year=2016
2222

2323
- repo: https://github.com/pycqa/isort
24-
rev: 5.13.2
24+
rev: 6.0.0
2525
hooks:
2626
- id: isort
2727

@@ -38,19 +38,19 @@ repos:
3838
src/ansys/mapdl/core/commands
3939
)
4040
41+
- repo: https://github.com/adamchainz/blacken-docs
42+
rev: 1.19.1
43+
hooks:
44+
- id: blacken-docs
45+
additional_dependencies: [black==25.1.0]
46+
4147
- repo: https://github.com/psf/black
42-
rev: 24.10.0 # If version changes --> modify "blacken-docs" manually as well.
48+
rev: 25.1.0 # If version changes --> modify "blacken-docs" manually as well.
4349
hooks:
4450
- id: black
4551
args:
4652
- --line-length=88
4753

48-
- repo: https://github.com/adamchainz/blacken-docs
49-
rev: 1.19.1
50-
hooks:
51-
- id: blacken-docs
52-
additional_dependencies: [black==24.10.0]
53-
5454
- repo: https://github.com/PyCQA/flake8
5555
rev: 7.1.1
5656
hooks:
@@ -78,6 +78,6 @@ repos:
7878

7979
# this validates our github workflow files
8080
- repo: https://github.com/python-jsonschema/check-jsonschema
81-
rev: 0.31.0
81+
rev: 0.31.1
8282
hooks:
8383
- id: check-github-workflows

doc/changelog.d/3723.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/user_guide/convert.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ which can be done with:
227227

228228
.. code:: python
229229
230-
""" Script generated by ansys-mapdl-core version 0.57.0"""
230+
"""Script generated by ansys-mapdl-core version 0.57.0"""
231231
232232
from ansys.mapdl.core import launch_mapdl
233233

src/ansys/mapdl/core/component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484

8585
def _check_valid_pyobj_to_entities(
86-
items: Union[Tuple[int, ...], List[int], NDArray[Any]]
86+
items: Union[Tuple[int, ...], List[int], NDArray[Any]],
8787
) -> None:
8888
"""Check whether the python objects can be converted to entities.
8989
At the moment, only list and numpy arrays of ints are allowed.

src/ansys/mapdl/core/examples/downloads.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222

23-
"""Functions to download sample datasets from the pyansys data repository.
24-
"""
23+
"""Functions to download sample datasets from the pyansys data repository."""
2524
from functools import wraps
2625
import os
2726
import shutil

src/ansys/mapdl/core/examples/verif_files.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222

23-
"""loads a list of verification files
24-
"""
23+
"""loads a list of verification files"""
2524
import glob
2625
import inspect
2726
import os

src/ansys/mapdl/core/mapdl_grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222

23-
"""A gRPC specific class and methods for the MAPDL gRPC client """
23+
"""A gRPC specific class and methods for the MAPDL gRPC client"""
2424

2525
import fnmatch
2626
from functools import wraps

tests/test_logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222

23-
""""Testing of log module"""
23+
""" "Testing of log module"""
2424
import logging as deflogging # Default logging
2525
import os
2626
import re

tests/test_mesh_grpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121
# SOFTWARE.
2222

23-
"""Test mesh """
23+
"""Test mesh"""
2424
import os
2525

2626
import numpy as np

0 commit comments

Comments
 (0)