From 35a7d977becc23cbe6b38b38c22ba1a46e871d49 Mon Sep 17 00:00:00 2001 From: dkunhamb Date: Mon, 22 Jun 2026 11:48:16 -0500 Subject: [PATCH 1/3] chore: update pre-commit hook revisions and fix copyright headers --- .pre-commit-config.yaml | 20 +++++++++---------- examples/01_basic/bolt_pretension.py | 2 +- .../cooling_holes_thermal_analysis.py | 2 +- .../fracture_analysis_contact_debonding.py | 2 +- examples/01_basic/harmonic_acoustics.py | 2 +- examples/01_basic/modal_acoustics_analysis.py | 2 +- .../01_basic/steady_state_thermal_analysis.py | 2 +- .../topology_optimization_cantilever_beam.py | 2 +- examples/01_basic/valve.py | 2 +- pyproject.toml | 4 ++-- src/ansys/mechanical/core/__init__.py | 2 +- src/ansys/mechanical/core/_version.py | 2 +- .../mechanical/core/embedding/__init__.py | 2 +- src/ansys/mechanical/core/embedding/addins.py | 2 +- src/ansys/mechanical/core/embedding/app.py | 2 +- .../core/embedding/app_libraries.py | 2 +- .../mechanical/core/embedding/appdata.py | 2 +- .../mechanical/core/embedding/background.py | 2 +- .../mechanical/core/embedding/cleanup_gui.py | 3 ++- .../core/embedding/enum_importer.py | 2 +- .../core/embedding/find_mechanical.py | 3 ++- .../core/embedding/global_importer.py | 3 ++- .../core/embedding/graphics/__init__.py | 2 +- .../embedding/graphics/embedding_plotter.py | 2 +- .../core/embedding/graphics/usd_converter.py | 2 +- .../core/embedding/graphics/utils.py | 2 +- .../mechanical/core/embedding/helpers.py | 2 +- .../mechanical/core/embedding/imports.py | 2 +- .../mechanical/core/embedding/initializer.py | 2 +- .../core/embedding/ipython_shell.py | 2 +- .../core/embedding/license_manager.py | 2 +- src/ansys/mechanical/core/embedding/loader.py | 2 +- .../core/embedding/logger/__init__.py | 2 +- .../core/embedding/logger/environ.py | 2 +- .../core/embedding/logger/linux_api.py | 2 +- .../mechanical/core/embedding/logger/sinks.py | 2 +- .../core/embedding/logger/windows_api.py | 2 +- .../core/embedding/mechanical_warnings.py | 2 +- .../mechanical/core/embedding/messages.py | 2 +- src/ansys/mechanical/core/embedding/poster.py | 2 +- .../mechanical/core/embedding/resolver.py | 2 +- .../mechanical/core/embedding/rpc/__init__.py | 2 +- .../mechanical/core/embedding/rpc/client.py | 3 ++- .../core/embedding/rpc/default_server.py | 3 ++- .../mechanical/core/embedding/rpc/server.py | 3 ++- .../mechanical/core/embedding/rpc/utils.py | 3 ++- .../mechanical/core/embedding/runtime.py | 2 +- src/ansys/mechanical/core/embedding/shell.py | 2 +- src/ansys/mechanical/core/embedding/shims.py | 2 +- .../mechanical/core/embedding/transaction.py | 3 ++- src/ansys/mechanical/core/embedding/ui.py | 3 ++- src/ansys/mechanical/core/embedding/utils.py | 2 +- src/ansys/mechanical/core/errors.py | 2 +- .../mechanical/core/examples/__init__.py | 2 +- .../mechanical/core/examples/downloads.py | 2 +- src/ansys/mechanical/core/feature_flags.py | 2 +- src/ansys/mechanical/core/ide_config.py | 2 +- src/ansys/mechanical/core/launcher.py | 2 +- src/ansys/mechanical/core/logging.py | 2 +- src/ansys/mechanical/core/mechanical.py | 2 +- src/ansys/mechanical/core/misc.py | 2 +- src/ansys/mechanical/core/pool.py | 2 +- src/ansys/mechanical/core/run.py | 2 +- tests/conftest.py | 3 ++- tests/embedding/__init__.py | 2 +- tests/embedding/test_analytics.py | 2 +- tests/embedding/test_app.py | 2 +- tests/embedding/test_app_libraries.py | 2 +- tests/embedding/test_app_save_as.py | 6 +++--- tests/embedding/test_appdata.py | 2 +- tests/embedding/test_background.py | 2 +- tests/embedding/test_dyna.py | 2 +- tests/embedding/test_globals.py | 2 +- tests/embedding/test_helper.py | 2 +- tests/embedding/test_license_manager.py | 2 +- tests/embedding/test_logger.py | 2 +- tests/embedding/test_messages.py | 2 +- tests/embedding/test_qk_eng_wb2.py | 2 +- tests/embedding/test_remote_solve.py | 2 +- tests/scripts/api.py | 2 +- tests/scripts/background_app_test.py | 2 +- tests/scripts/build_gallery_test.py | 2 +- tests/scripts/embedding_log_test.py | 2 +- tests/scripts/log_message.py | 2 +- tests/scripts/pythonnet_warning.py | 2 +- tests/scripts/reuse_instance_test.py | 2 +- tests/scripts/rpc_server_embedded.py | 3 ++- tests/scripts/run_analytics.py | 2 +- tests/scripts/run_embedded_app.py | 2 +- tests/scripts/run_python_error.py | 2 +- tests/scripts/run_python_success.py | 2 +- tests/scripts/run_remote_session.py | 2 +- tests/test_cli.py | 3 ++- tests/test_cli_transport.py | 2 +- tests/test_examples_downloads.py | 3 ++- tests/test_launcher.py | 3 ++- tests/test_logging.py | 2 +- tests/test_mechanical.py | 3 ++- tests/test_misc.py | 3 ++- tests/test_pool.py | 3 ++- 100 files changed, 129 insertions(+), 112 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 28ec9b4ba7..579544c242 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,13 +8,13 @@ exclude: '^tests/embedding/assets/.*$|^tests/parts/.*$' repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 3b3f7c3f57fe9925356faf5fe6230835138be230 # frozen: v0.15.17 + rev: v0.15.18 hooks: - id: ruff - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: d2823d321df3af8f878f7ee3414dc94d037145b9 # frozen: v2.1.0 + rev: v2.1.0 hooks: - id: mypy additional_dependencies: [types-requests, types-tqdm] @@ -22,19 +22,19 @@ repos: exclude: ^(tests|examples|doc)/ - repo: https://github.com/pre-commit-ci/pre-commit-ci-config - rev: 500543de231a91e6157db630075d70320709b834 # frozen: v1.6.1 + rev: v1.6.1 hooks: - id: check-pre-commit-ci-config - repo: https://github.com/codespell-project/codespell - rev: 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a # frozen: v2.4.2 + rev: v2.4.2 hooks: - id: codespell args: ["--ignore-words-list", "addin", "--ignore-words", "doc/styles/config/vocabularies/ANSYS/accept.txt", "-w"] exclude: "doc/styles/typos\\.toml" - repo: https://github.com/ansys/pre-commit-hooks - rev: ad4e7598809ad98cde5aaf52d80040c7ac56e7cf # frozen: v0.7.2 + rev: v0.8.0 hooks: - id: add-license-headers args: @@ -44,7 +44,7 @@ repos: - --product=mechanical - repo: https://github.com/pre-commit/pre-commit-hooks - rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 + rev: v6.0.0 hooks: - id: check-merge-conflict - id: debug-statements @@ -53,7 +53,7 @@ repos: - id: check-added-large-files - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 8ef330cbb7204d388aa7a620f9549bcea8009663 # frozen: 0.37.3 + rev: 0.37.3 hooks: - id: check-github-workflows @@ -66,20 +66,20 @@ repos: # Security checks with bandit - repo: https://github.com/PyCQA/bandit - rev: 92ae8b82fb422a639f0ed8d99e96cea769594e08 # frozen: 1.9.4 + rev: 1.9.4 hooks: - id: bandit args: ['-c', 'pyproject.toml'] additional_dependencies: ['bandit[toml]'] - repo: https://github.com/asottile/pyupgrade - rev: 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2 + rev: v3.21.2 hooks: - id: pyupgrade args: ['--py310-plus'] - repo: https://github.com/crate-ci/typos - rev: d80b8e26878e372a041833cd67163dbdb6a4336e # frozen: v1 + rev: typos-dict-v0.13.30 hooks: - id: typos args: ["--config", "doc/styles/typos.toml"] diff --git a/examples/01_basic/bolt_pretension.py b/examples/01_basic/bolt_pretension.py index 8cb289b848..f32261446d 100644 --- a/examples/01_basic/bolt_pretension.py +++ b/examples/01_basic/bolt_pretension.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/examples/01_basic/cooling_holes_thermal_analysis.py b/examples/01_basic/cooling_holes_thermal_analysis.py index 3328f92233..2e919f790e 100644 --- a/examples/01_basic/cooling_holes_thermal_analysis.py +++ b/examples/01_basic/cooling_holes_thermal_analysis.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/examples/01_basic/fracture_analysis_contact_debonding.py b/examples/01_basic/fracture_analysis_contact_debonding.py index 42b0cd6f78..137e700776 100644 --- a/examples/01_basic/fracture_analysis_contact_debonding.py +++ b/examples/01_basic/fracture_analysis_contact_debonding.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/examples/01_basic/harmonic_acoustics.py b/examples/01_basic/harmonic_acoustics.py index f4eb507e7a..e0051fcfdb 100644 --- a/examples/01_basic/harmonic_acoustics.py +++ b/examples/01_basic/harmonic_acoustics.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/examples/01_basic/modal_acoustics_analysis.py b/examples/01_basic/modal_acoustics_analysis.py index 7317f10bd8..4ea22a1810 100644 --- a/examples/01_basic/modal_acoustics_analysis.py +++ b/examples/01_basic/modal_acoustics_analysis.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/examples/01_basic/steady_state_thermal_analysis.py b/examples/01_basic/steady_state_thermal_analysis.py index fc1bd9598c..a8f2059faf 100644 --- a/examples/01_basic/steady_state_thermal_analysis.py +++ b/examples/01_basic/steady_state_thermal_analysis.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/examples/01_basic/topology_optimization_cantilever_beam.py b/examples/01_basic/topology_optimization_cantilever_beam.py index d90beb05ae..97fde0a30c 100644 --- a/examples/01_basic/topology_optimization_cantilever_beam.py +++ b/examples/01_basic/topology_optimization_cantilever_beam.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/examples/01_basic/valve.py b/examples/01_basic/valve.py index 48c38c551b..9cc3709979 100644 --- a/examples/01_basic/valve.py +++ b/examples/01_basic/valve.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/pyproject.toml b/pyproject.toml index 439b296575..7093a55974 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,8 +10,8 @@ readme = "README.rst" requires-python = ">=3.10,<4.0" license = "MIT" license-files = ["LICENSE"] -authors = [{ name = "ANSYS, Inc.", email = "pyansys.core@ansys.com" }] -maintainers = [{ name = "ANSYS, Inc.", email = "pyansys.core@ansys.com" }] +authors = [{ name = "Synopsys, Inc. and ANSYS, Inc.", email = "pyansys-core@synopsys.com" }] +maintainers = [{ name = "Synopsys, Inc. and ANSYS, Inc.", email = "pyansys-core@synopsys.com" }] keywords = ["pymechanical", "mechanical", "ansys", "pyansys"] classifiers = [ diff --git a/src/ansys/mechanical/core/__init__.py b/src/ansys/mechanical/core/__init__.py index dfd6dfae30..c6c5300e30 100644 --- a/src/ansys/mechanical/core/__init__.py +++ b/src/ansys/mechanical/core/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/_version.py b/src/ansys/mechanical/core/_version.py index b16948c515..8377c980e1 100644 --- a/src/ansys/mechanical/core/_version.py +++ b/src/ansys/mechanical/core/_version.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/__init__.py b/src/ansys/mechanical/core/embedding/__init__.py index 5ec9584d94..f5f9fa47e8 100644 --- a/src/ansys/mechanical/core/embedding/__init__.py +++ b/src/ansys/mechanical/core/embedding/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/addins.py b/src/ansys/mechanical/core/embedding/addins.py index 77d4920605..57f59b1d95 100644 --- a/src/ansys/mechanical/core/embedding/addins.py +++ b/src/ansys/mechanical/core/embedding/addins.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/app.py b/src/ansys/mechanical/core/embedding/app.py index 03a39ccdb8..0add946aba 100644 --- a/src/ansys/mechanical/core/embedding/app.py +++ b/src/ansys/mechanical/core/embedding/app.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/app_libraries.py b/src/ansys/mechanical/core/embedding/app_libraries.py index 2d67f65e4e..708d7f665e 100644 --- a/src/ansys/mechanical/core/embedding/app_libraries.py +++ b/src/ansys/mechanical/core/embedding/app_libraries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/appdata.py b/src/ansys/mechanical/core/embedding/appdata.py index 8c4d089dfd..b2bcf60251 100644 --- a/src/ansys/mechanical/core/embedding/appdata.py +++ b/src/ansys/mechanical/core/embedding/appdata.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/background.py b/src/ansys/mechanical/core/embedding/background.py index ad19897994..bc11eb8539 100644 --- a/src/ansys/mechanical/core/embedding/background.py +++ b/src/ansys/mechanical/core/embedding/background.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/cleanup_gui.py b/src/ansys/mechanical/core/embedding/cleanup_gui.py index 3d9861eefb..8ac2d13712 100644 --- a/src/ansys/mechanical/core/embedding/cleanup_gui.py +++ b/src/ansys/mechanical/core/embedding/cleanup_gui.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Clean up temporary mechdb files after GUI is closed.""" from pathlib import Path diff --git a/src/ansys/mechanical/core/embedding/enum_importer.py b/src/ansys/mechanical/core/embedding/enum_importer.py index cd1526651c..86c25ad408 100644 --- a/src/ansys/mechanical/core/embedding/enum_importer.py +++ b/src/ansys/mechanical/core/embedding/enum_importer.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/find_mechanical.py b/src/ansys/mechanical/core/embedding/find_mechanical.py index bc847d076f..75d720c326 100644 --- a/src/ansys/mechanical/core/embedding/find_mechanical.py +++ b/src/ansys/mechanical/core/embedding/find_mechanical.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Cli for finding mechanical installation.""" import os diff --git a/src/ansys/mechanical/core/embedding/global_importer.py b/src/ansys/mechanical/core/embedding/global_importer.py index cc56e39b40..bdf2fd4976 100644 --- a/src/ansys/mechanical/core/embedding/global_importer.py +++ b/src/ansys/mechanical/core/embedding/global_importer.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Import Mechanical globals.""" from ansys.mechanical.core.embedding.app import is_initialized diff --git a/src/ansys/mechanical/core/embedding/graphics/__init__.py b/src/ansys/mechanical/core/embedding/graphics/__init__.py index d1969096d2..a56e487475 100644 --- a/src/ansys/mechanical/core/embedding/graphics/__init__.py +++ b/src/ansys/mechanical/core/embedding/graphics/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/graphics/embedding_plotter.py b/src/ansys/mechanical/core/embedding/graphics/embedding_plotter.py index febb539e74..ee3cf12c38 100644 --- a/src/ansys/mechanical/core/embedding/graphics/embedding_plotter.py +++ b/src/ansys/mechanical/core/embedding/graphics/embedding_plotter.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/graphics/usd_converter.py b/src/ansys/mechanical/core/embedding/graphics/usd_converter.py index b1bae84fce..1e893cc87e 100644 --- a/src/ansys/mechanical/core/embedding/graphics/usd_converter.py +++ b/src/ansys/mechanical/core/embedding/graphics/usd_converter.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/graphics/utils.py b/src/ansys/mechanical/core/embedding/graphics/utils.py index 11606865e7..5c0ecb2ccd 100644 --- a/src/ansys/mechanical/core/embedding/graphics/utils.py +++ b/src/ansys/mechanical/core/embedding/graphics/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/helpers.py b/src/ansys/mechanical/core/embedding/helpers.py index 80b262bd92..8c779f239f 100644 --- a/src/ansys/mechanical/core/embedding/helpers.py +++ b/src/ansys/mechanical/core/embedding/helpers.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/imports.py b/src/ansys/mechanical/core/embedding/imports.py index a6eb38fd61..567b7bf653 100644 --- a/src/ansys/mechanical/core/embedding/imports.py +++ b/src/ansys/mechanical/core/embedding/imports.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/initializer.py b/src/ansys/mechanical/core/embedding/initializer.py index f798c4919a..d400e943a4 100644 --- a/src/ansys/mechanical/core/embedding/initializer.py +++ b/src/ansys/mechanical/core/embedding/initializer.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/ipython_shell.py b/src/ansys/mechanical/core/embedding/ipython_shell.py index 298d3368de..0a6f1968e0 100644 --- a/src/ansys/mechanical/core/embedding/ipython_shell.py +++ b/src/ansys/mechanical/core/embedding/ipython_shell.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/license_manager.py b/src/ansys/mechanical/core/embedding/license_manager.py index 248950a22a..8b1cdcbaf1 100644 --- a/src/ansys/mechanical/core/embedding/license_manager.py +++ b/src/ansys/mechanical/core/embedding/license_manager.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/loader.py b/src/ansys/mechanical/core/embedding/loader.py index aa97e7a990..07edc4a9b3 100644 --- a/src/ansys/mechanical/core/embedding/loader.py +++ b/src/ansys/mechanical/core/embedding/loader.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/logger/__init__.py b/src/ansys/mechanical/core/embedding/logger/__init__.py index e7e9159d2d..4a3b360de9 100644 --- a/src/ansys/mechanical/core/embedding/logger/__init__.py +++ b/src/ansys/mechanical/core/embedding/logger/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/logger/environ.py b/src/ansys/mechanical/core/embedding/logger/environ.py index d4a2102d20..09ffce9c9f 100644 --- a/src/ansys/mechanical/core/embedding/logger/environ.py +++ b/src/ansys/mechanical/core/embedding/logger/environ.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/logger/linux_api.py b/src/ansys/mechanical/core/embedding/logger/linux_api.py index 38cf996378..00c2018b8d 100644 --- a/src/ansys/mechanical/core/embedding/logger/linux_api.py +++ b/src/ansys/mechanical/core/embedding/logger/linux_api.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/logger/sinks.py b/src/ansys/mechanical/core/embedding/logger/sinks.py index 697e99819a..93ef90afdd 100644 --- a/src/ansys/mechanical/core/embedding/logger/sinks.py +++ b/src/ansys/mechanical/core/embedding/logger/sinks.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/logger/windows_api.py b/src/ansys/mechanical/core/embedding/logger/windows_api.py index d653d19635..84ecf42acc 100644 --- a/src/ansys/mechanical/core/embedding/logger/windows_api.py +++ b/src/ansys/mechanical/core/embedding/logger/windows_api.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/mechanical_warnings.py b/src/ansys/mechanical/core/embedding/mechanical_warnings.py index 54cbc7117b..075500722c 100644 --- a/src/ansys/mechanical/core/embedding/mechanical_warnings.py +++ b/src/ansys/mechanical/core/embedding/mechanical_warnings.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/messages.py b/src/ansys/mechanical/core/embedding/messages.py index 5436792845..ff943bc533 100644 --- a/src/ansys/mechanical/core/embedding/messages.py +++ b/src/ansys/mechanical/core/embedding/messages.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/poster.py b/src/ansys/mechanical/core/embedding/poster.py index 80ba8e9a0e..3db5c74f73 100644 --- a/src/ansys/mechanical/core/embedding/poster.py +++ b/src/ansys/mechanical/core/embedding/poster.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/resolver.py b/src/ansys/mechanical/core/embedding/resolver.py index bb46a5b103..329f13bca9 100644 --- a/src/ansys/mechanical/core/embedding/resolver.py +++ b/src/ansys/mechanical/core/embedding/resolver.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/rpc/__init__.py b/src/ansys/mechanical/core/embedding/rpc/__init__.py index b0745c3292..3d4b784781 100644 --- a/src/ansys/mechanical/core/embedding/rpc/__init__.py +++ b/src/ansys/mechanical/core/embedding/rpc/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/rpc/client.py b/src/ansys/mechanical/core/embedding/rpc/client.py index abcd8db23d..68f60a18b2 100644 --- a/src/ansys/mechanical/core/embedding/rpc/client.py +++ b/src/ansys/mechanical/core/embedding/rpc/client.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Client for Mechanical services.""" from pathlib import Path diff --git a/src/ansys/mechanical/core/embedding/rpc/default_server.py b/src/ansys/mechanical/core/embedding/rpc/default_server.py index b6ace2062f..78b11875c4 100644 --- a/src/ansys/mechanical/core/embedding/rpc/default_server.py +++ b/src/ansys/mechanical/core/embedding/rpc/default_server.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Remote Procedure Call (RPC) server.""" import fnmatch diff --git a/src/ansys/mechanical/core/embedding/rpc/server.py b/src/ansys/mechanical/core/embedding/rpc/server.py index fcec4e8568..5b6fc3a5d7 100644 --- a/src/ansys/mechanical/core/embedding/rpc/server.py +++ b/src/ansys/mechanical/core/embedding/rpc/server.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Remote Procedure Call (RPC) server.""" from pathlib import Path diff --git a/src/ansys/mechanical/core/embedding/rpc/utils.py b/src/ansys/mechanical/core/embedding/rpc/utils.py index cde5de416e..b872072fe0 100644 --- a/src/ansys/mechanical/core/embedding/rpc/utils.py +++ b/src/ansys/mechanical/core/embedding/rpc/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Utilities necessary for remote calls.""" from enum import IntEnum diff --git a/src/ansys/mechanical/core/embedding/runtime.py b/src/ansys/mechanical/core/embedding/runtime.py index d9603aadd0..de67f5957d 100644 --- a/src/ansys/mechanical/core/embedding/runtime.py +++ b/src/ansys/mechanical/core/embedding/runtime.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/shell.py b/src/ansys/mechanical/core/embedding/shell.py index 30a28f2788..3a587d9df1 100644 --- a/src/ansys/mechanical/core/embedding/shell.py +++ b/src/ansys/mechanical/core/embedding/shell.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/shims.py b/src/ansys/mechanical/core/embedding/shims.py index fb60d60f5a..1fd9560ca9 100644 --- a/src/ansys/mechanical/core/embedding/shims.py +++ b/src/ansys/mechanical/core/embedding/shims.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/embedding/transaction.py b/src/ansys/mechanical/core/embedding/transaction.py index a855d39065..e293f7e15f 100644 --- a/src/ansys/mechanical/core/embedding/transaction.py +++ b/src/ansys/mechanical/core/embedding/transaction.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """A class to speed up bulk user interactions using Ansys ACT Mechanical Transaction.""" diff --git a/src/ansys/mechanical/core/embedding/ui.py b/src/ansys/mechanical/core/embedding/ui.py index 41a712a42f..68b445575c 100644 --- a/src/ansys/mechanical/core/embedding/ui.py +++ b/src/ansys/mechanical/core/embedding/ui.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Run Mechanical UI from Python.""" from __future__ import annotations diff --git a/src/ansys/mechanical/core/embedding/utils.py b/src/ansys/mechanical/core/embedding/utils.py index 4bb15c3fb8..ed43d639cc 100644 --- a/src/ansys/mechanical/core/embedding/utils.py +++ b/src/ansys/mechanical/core/embedding/utils.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/errors.py b/src/ansys/mechanical/core/errors.py index 54e5b9921a..62814760c7 100644 --- a/src/ansys/mechanical/core/errors.py +++ b/src/ansys/mechanical/core/errors.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/examples/__init__.py b/src/ansys/mechanical/core/examples/__init__.py index e9d1b349bc..7d4aaa88ee 100644 --- a/src/ansys/mechanical/core/examples/__init__.py +++ b/src/ansys/mechanical/core/examples/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/examples/downloads.py b/src/ansys/mechanical/core/examples/downloads.py index 33756b6f14..55b0c8a48c 100644 --- a/src/ansys/mechanical/core/examples/downloads.py +++ b/src/ansys/mechanical/core/examples/downloads.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/feature_flags.py b/src/ansys/mechanical/core/feature_flags.py index 2e538689bc..51b05dc364 100644 --- a/src/ansys/mechanical/core/feature_flags.py +++ b/src/ansys/mechanical/core/feature_flags.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/ide_config.py b/src/ansys/mechanical/core/ide_config.py index 70a2ae3ea7..b9bb8d81f1 100644 --- a/src/ansys/mechanical/core/ide_config.py +++ b/src/ansys/mechanical/core/ide_config.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/launcher.py b/src/ansys/mechanical/core/launcher.py index 15963a0a07..b013a7eff4 100644 --- a/src/ansys/mechanical/core/launcher.py +++ b/src/ansys/mechanical/core/launcher.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/logging.py b/src/ansys/mechanical/core/logging.py index 4aeaa75e0b..e3b0de8e02 100644 --- a/src/ansys/mechanical/core/logging.py +++ b/src/ansys/mechanical/core/logging.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/mechanical.py b/src/ansys/mechanical/core/mechanical.py index a239657608..4d17693801 100644 --- a/src/ansys/mechanical/core/mechanical.py +++ b/src/ansys/mechanical/core/mechanical.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/misc.py b/src/ansys/mechanical/core/misc.py index c5b7119115..e792dbc2b5 100644 --- a/src/ansys/mechanical/core/misc.py +++ b/src/ansys/mechanical/core/misc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/pool.py b/src/ansys/mechanical/core/pool.py index 821f6304db..22d8900f87 100644 --- a/src/ansys/mechanical/core/pool.py +++ b/src/ansys/mechanical/core/pool.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/src/ansys/mechanical/core/run.py b/src/ansys/mechanical/core/run.py index c662dd4a9c..7bc0c2dfd0 100644 --- a/src/ansys/mechanical/core/run.py +++ b/src/ansys/mechanical/core/run.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/conftest.py b/tests/conftest.py index eb741687c3..bf4239a21d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Fixtures and helpers for testing.""" import datetime diff --git a/tests/embedding/__init__.py b/tests/embedding/__init__.py index ce2b1d0fee..fd31b64b63 100644 --- a/tests/embedding/__init__.py +++ b/tests/embedding/__init__.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_analytics.py b/tests/embedding/test_analytics.py index 694cb5ad25..55cf2448bd 100644 --- a/tests/embedding/test_analytics.py +++ b/tests/embedding/test_analytics.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_app.py b/tests/embedding/test_app.py index 84f1966068..f0cd486ed8 100644 --- a/tests/embedding/test_app.py +++ b/tests/embedding/test_app.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_app_libraries.py b/tests/embedding/test_app_libraries.py index 960d6a36fa..0d0722dbad 100644 --- a/tests/embedding/test_app_libraries.py +++ b/tests/embedding/test_app_libraries.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_app_save_as.py b/tests/embedding/test_app_save_as.py index b944c93ffe..632031bef3 100644 --- a/tests/embedding/test_app_save_as.py +++ b/tests/embedding/test_app_save_as.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -17,8 +17,8 @@ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. """Mock tests for ``App.save_as`` and ``App.open`` lock-file removal. diff --git a/tests/embedding/test_appdata.py b/tests/embedding/test_appdata.py index d13df2ccdb..10098f9f06 100644 --- a/tests/embedding/test_appdata.py +++ b/tests/embedding/test_appdata.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_background.py b/tests/embedding/test_background.py index f0d0205fdf..10bdbb4e0b 100644 --- a/tests/embedding/test_background.py +++ b/tests/embedding/test_background.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_dyna.py b/tests/embedding/test_dyna.py index 4627a261a2..89d58a0bbf 100644 --- a/tests/embedding/test_dyna.py +++ b/tests/embedding/test_dyna.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_globals.py b/tests/embedding/test_globals.py index 52a19fe5ef..d96da08695 100644 --- a/tests/embedding/test_globals.py +++ b/tests/embedding/test_globals.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_helper.py b/tests/embedding/test_helper.py index eeaf81658f..b6c43991f5 100644 --- a/tests/embedding/test_helper.py +++ b/tests/embedding/test_helper.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_license_manager.py b/tests/embedding/test_license_manager.py index 73942447a1..b1e747b94e 100644 --- a/tests/embedding/test_license_manager.py +++ b/tests/embedding/test_license_manager.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_logger.py b/tests/embedding/test_logger.py index 6281c2065b..e9e190d4ef 100644 --- a/tests/embedding/test_logger.py +++ b/tests/embedding/test_logger.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_messages.py b/tests/embedding/test_messages.py index 715dac4e01..3a9a80ddf6 100644 --- a/tests/embedding/test_messages.py +++ b/tests/embedding/test_messages.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_qk_eng_wb2.py b/tests/embedding/test_qk_eng_wb2.py index 1cfcad9b61..9f765b486b 100644 --- a/tests/embedding/test_qk_eng_wb2.py +++ b/tests/embedding/test_qk_eng_wb2.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/embedding/test_remote_solve.py b/tests/embedding/test_remote_solve.py index aa799a278a..2f2046b3ad 100644 --- a/tests/embedding/test_remote_solve.py +++ b/tests/embedding/test_remote_solve.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/api.py b/tests/scripts/api.py index 0f2668a978..405ba584a8 100644 --- a/tests/scripts/api.py +++ b/tests/scripts/api.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/background_app_test.py b/tests/scripts/background_app_test.py index 491ac4525f..d870ff4b10 100644 --- a/tests/scripts/background_app_test.py +++ b/tests/scripts/background_app_test.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/build_gallery_test.py b/tests/scripts/build_gallery_test.py index 66135288a1..bd55945504 100644 --- a/tests/scripts/build_gallery_test.py +++ b/tests/scripts/build_gallery_test.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/embedding_log_test.py b/tests/scripts/embedding_log_test.py index 4259dd888a..0e61da69cd 100644 --- a/tests/scripts/embedding_log_test.py +++ b/tests/scripts/embedding_log_test.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/log_message.py b/tests/scripts/log_message.py index becc8d7caf..16673ddf2e 100644 --- a/tests/scripts/log_message.py +++ b/tests/scripts/log_message.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/pythonnet_warning.py b/tests/scripts/pythonnet_warning.py index 2763afc7d2..d194ba01d9 100644 --- a/tests/scripts/pythonnet_warning.py +++ b/tests/scripts/pythonnet_warning.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/reuse_instance_test.py b/tests/scripts/reuse_instance_test.py index de19ba96f5..5c7b2dd699 100644 --- a/tests/scripts/reuse_instance_test.py +++ b/tests/scripts/reuse_instance_test.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/rpc_server_embedded.py b/tests/scripts/rpc_server_embedded.py index bc43c62345..c5baa8201d 100644 --- a/tests/scripts/rpc_server_embedded.py +++ b/tests/scripts/rpc_server_embedded.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Start rpc sever for embedded instance.""" import sys diff --git a/tests/scripts/run_analytics.py b/tests/scripts/run_analytics.py index 0663aee043..7e2edbca7f 100644 --- a/tests/scripts/run_analytics.py +++ b/tests/scripts/run_analytics.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/run_embedded_app.py b/tests/scripts/run_embedded_app.py index 818614db58..0a2c1f7a31 100644 --- a/tests/scripts/run_embedded_app.py +++ b/tests/scripts/run_embedded_app.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/run_python_error.py b/tests/scripts/run_python_error.py index 37219508eb..c08716b977 100644 --- a/tests/scripts/run_python_error.py +++ b/tests/scripts/run_python_error.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/run_python_success.py b/tests/scripts/run_python_success.py index 68f9143577..38cf6ac033 100644 --- a/tests/scripts/run_python_success.py +++ b/tests/scripts/run_python_success.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/scripts/run_remote_session.py b/tests/scripts/run_remote_session.py index 5a5b424864..363694b2f5 100644 --- a/tests/scripts/run_remote_session.py +++ b/tests/scripts/run_remote_session.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_cli.py b/tests/test_cli.py index 86b7aeedf2..3183067893 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Test for Command Line Interface (CLI) functionality.""" import json diff --git a/tests/test_cli_transport.py b/tests/test_cli_transport.py index 228ab7ae1c..b0234f3fd7 100644 --- a/tests/test_cli_transport.py +++ b/tests/test_cli_transport.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_examples_downloads.py b/tests/test_examples_downloads.py index 1d1df02895..3188609dec 100644 --- a/tests/test_examples_downloads.py +++ b/tests/test_examples_downloads.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Test for downloading example files.""" from pathlib import Path diff --git a/tests/test_launcher.py b/tests/test_launcher.py index c790ae1c11..98ae216b72 100644 --- a/tests/test_launcher.py +++ b/tests/test_launcher.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Test for MechanicalLauncher.""" import pytest diff --git a/tests/test_logging.py b/tests/test_logging.py index 6e1982dd99..b58f89232f 100644 --- a/tests/test_logging.py +++ b/tests/test_logging.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # diff --git a/tests/test_mechanical.py b/tests/test_mechanical.py index aa44edf73f..bc4fe80cd3 100644 --- a/tests/test_mechanical.py +++ b/tests/test_mechanical.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Test for Mechanical Module.""" import json diff --git a/tests/test_misc.py b/tests/test_misc.py index c2351b2832..53577ba8c9 100644 --- a/tests/test_misc.py +++ b/tests/test_misc.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Test for Miscellaneous Functions.""" import pytest diff --git a/tests/test_pool.py b/tests/test_pool.py index 54060ab845..55e03e1fff 100644 --- a/tests/test_pool.py +++ b/tests/test_pool.py @@ -1,4 +1,4 @@ -# Copyright (C) 2022 - 2026 ANSYS, Inc. and/or its affiliates. +# Copyright (C) 2022 - 2026 Synopsys, Inc. and ANSYS, Inc. All rights reserved. # SPDX-License-Identifier: MIT # # @@ -19,6 +19,7 @@ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. + """Test for Mechanical Pool.""" import pathlib From 6fbbe567f2c00bbcab13b17226102816bb05a673 Mon Sep 17 00:00:00 2001 From: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Date: Mon, 22 Jun 2026 16:50:44 +0000 Subject: [PATCH 2/3] chore: adding changelog file 1663.maintenance.md [dependabot-skip] --- doc/changelog.d/1663.maintenance.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changelog.d/1663.maintenance.md diff --git a/doc/changelog.d/1663.maintenance.md b/doc/changelog.d/1663.maintenance.md new file mode 100644 index 0000000000..db34312662 --- /dev/null +++ b/doc/changelog.d/1663.maintenance.md @@ -0,0 +1 @@ +Update pre-commit hook revisions and fix copyright headers From 5c8e41a0c4cd11d420eba2993375e94817d682ae Mon Sep 17 00:00:00 2001 From: dkunhamb Date: Mon, 22 Jun 2026 11:52:49 -0500 Subject: [PATCH 3/3] freeze version --- .pre-commit-config.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 579544c242..be489131c4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,13 +8,13 @@ exclude: '^tests/embedding/assets/.*$|^tests/parts/.*$' repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.18 + rev: 77039ccbba72c8aede339c5f8ae29b42aced0a2e # frozen: v0.15.18 hooks: - id: ruff - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v2.1.0 + rev: d2823d321df3af8f878f7ee3414dc94d037145b9 # frozen: v2.1.0 hooks: - id: mypy additional_dependencies: [types-requests, types-tqdm] @@ -22,19 +22,19 @@ repos: exclude: ^(tests|examples|doc)/ - repo: https://github.com/pre-commit-ci/pre-commit-ci-config - rev: v1.6.1 + rev: 500543de231a91e6157db630075d70320709b834 # frozen: v1.6.1 hooks: - id: check-pre-commit-ci-config - repo: https://github.com/codespell-project/codespell - rev: v2.4.2 + rev: 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a # frozen: v2.4.2 hooks: - id: codespell args: ["--ignore-words-list", "addin", "--ignore-words", "doc/styles/config/vocabularies/ANSYS/accept.txt", "-w"] exclude: "doc/styles/typos\\.toml" - repo: https://github.com/ansys/pre-commit-hooks - rev: v0.8.0 + rev: 55c5b6a5439abd847613579c6924da750e8b78b2 # frozen: v0.8.0 hooks: - id: add-license-headers args: @@ -44,7 +44,7 @@ repos: - --product=mechanical - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v6.0.0 + rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: - id: check-merge-conflict - id: debug-statements @@ -53,7 +53,7 @@ repos: - id: check-added-large-files - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.37.3 + rev: 8ef330cbb7204d388aa7a620f9549bcea8009663 # frozen: 0.37.3 hooks: - id: check-github-workflows @@ -66,20 +66,20 @@ repos: # Security checks with bandit - repo: https://github.com/PyCQA/bandit - rev: 1.9.4 + rev: 92ae8b82fb422a639f0ed8d99e96cea769594e08 # frozen: 1.9.4 hooks: - id: bandit args: ['-c', 'pyproject.toml'] additional_dependencies: ['bandit[toml]'] - repo: https://github.com/asottile/pyupgrade - rev: v3.21.2 + rev: 75992aaa40730136014f34227e0135f63fc951b4 # frozen: v3.21.2 hooks: - id: pyupgrade args: ['--py310-plus'] - repo: https://github.com/crate-ci/typos - rev: typos-dict-v0.13.30 + rev: d80b8e26878e372a041833cd67163dbdb6a4336e # frozen: v1 hooks: - id: typos args: ["--config", "doc/styles/typos.toml"]