Skip to content

Commit 4f183e7

Browse files
pre-commit-ci[bot]pyansys-ci-botRobPasMue
authored
[pre-commit.ci] pre-commit autoupdate (#227)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: Roberto Pastor Muela <[email protected]>
1 parent 53f82d8 commit 4f183e7

34 files changed

+41
-40
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ repos:
2929

3030
# this validates our github workflow files
3131
- repo: https://github.com/python-jsonschema/check-jsonschema
32-
rev: 0.30.0
32+
rev: 0.31.0
3333
hooks:
3434
- id: check-github-workflows
3535

3636
- repo: https://github.com/astral-sh/ruff-pre-commit
37-
rev: v0.8.6
37+
rev: v0.9.1
3838
hooks:
3939
- id: ruff
4040
args: [--fix]

doc/changelog.d/227.test.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

examples/00-basic-pyvista-examples/clipping_plane.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/00-basic-pyvista-examples/picker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/00-basic-pyvista-examples/plain_usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/00-basic-pyvista-examples/qt_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/00-basic-pyvista-examples/remote_trame_view.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#
@@ -37,7 +37,7 @@
3737
)
3838
3939
# create a trame service, in whatever port is available in your system
40-
ts = TrameService(websocket_port=8765)
40+
ts = TrameService(websocket_port=2024 - 2025)
4141
4242
# run the service
4343
ts.run()

examples/00-basic-pyvista-examples/using_meshobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

examples/01-advanced-pyansys-examples/using_meshobject_with_field_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#
@@ -88,9 +88,9 @@ def name(self):
8888

8989
# Define the camera position
9090
cpos = (
91-
(-0.3331763564757694, 0.08802797061044923, -1.055269197114142),
92-
(0.08813476356878325, -0.03975174212669032, -0.012819952697089087),
93-
(0.045604530283921085, 0.9935979348314435, 0.10336039239608838),
91+
(-0.2024 - 20252024 - 20252024 - 20252024 - 2025, 0.2024 - 20252024 - 20252024 - 20252024 - 20253, -1.2024 - 20252024 - 20252024 - 2025142),
92+
(0.2024 - 20252024 - 20252024 - 20252024 - 20255, -0.2024 - 20252024 - 20252024 - 20252024 - 20252, -0.2024 - 20252024 - 20252024 - 20252024 - 202587),
93+
(0.2024 - 20252024 - 20252024 - 20252024 - 202585, 0.2024 - 20252024 - 20252024 - 20252024 - 2025, 0.2024 - 20252024 - 20252024 - 20252024 - 20258),
9494
)
9595

9696
######################################

src/ansys/tools/visualization_interface/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2024 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

0 commit comments

Comments
 (0)