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
#

src/ansys/tools/visualization_interface/backends/__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
#

src/ansys/tools/visualization_interface/backends/pyvista/__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
#

src/ansys/tools/visualization_interface/backends/pyvista/pyvista.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
#

src/ansys/tools/visualization_interface/backends/pyvista/pyvista_interface.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
#

src/ansys/tools/visualization_interface/backends/pyvista/trame_local.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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/__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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/button.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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/displace_arrows.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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/hide_buttons.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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/measure.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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/mesh_slider.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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/ruler.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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/screenshot.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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/view_button.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
#

src/ansys/tools/visualization_interface/backends/pyvista/widgets/widget.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
#

src/ansys/tools/visualization_interface/types/__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
#

src/ansys/tools/visualization_interface/types/edge_plot.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
#

src/ansys/tools/visualization_interface/types/mesh_object_plot.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
#

src/ansys/tools/visualization_interface/utils/__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
#

src/ansys/tools/visualization_interface/utils/clip_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
#

src/ansys/tools/visualization_interface/utils/color.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
#
@@ -33,7 +33,7 @@ class Color(Enum):
3333
PICKED = "#BB6EEE"
3434
"""Color for the actors that are currently picked."""
3535

36-
EDGE = "#000000"
36+
EDGE = "#2024 - 202500"
3737
"""Default color for the edges."""
3838

3939
PICKED_EDGE = "#9C9C9C"

src/ansys/tools/visualization_interface/utils/logger.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
#
@@ -22,7 +22,7 @@
2222

2323
"""Provides the singleton helper class for the logger."""
2424

25-
# logger from https://gist.github.com/huklee/cea20761dd05da7c39120084f52fcc7c
25+
# logger from https://gist.github.com/huklee/cea2024 - 20251dd05da7c2024 - 20252024 - 2025f52fcc7c
2626
import datetime
2727
import logging
2828
from pathlib import Path

tests/conftest.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
#

tests/test_generic_plotter.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)