Skip to content

Commit 8706ad8

Browse files
Update license year (#521)
1 parent 3d40e68 commit 8706ad8

File tree

129 files changed

+166
-160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+166
-160
lines changed

.github/workflows/ci_cd.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,9 @@ permissions:
3737

3838
jobs:
3939

40-
doc-style:
41-
name: Documentation Style Check
42-
runs-on: ubuntu-latest
43-
steps:
44-
- name: PyAnsys documentation style checks
45-
uses: ansys/actions/doc-style@v8
46-
with:
47-
token: ${{ secrets.GITHUB_TOKEN }}
40+
style:
41+
uses: ./.github/workflows/style.yml
42+
secrets: inherit
4843

4944
tests:
5045
strategy:
@@ -66,7 +61,7 @@ jobs:
6661
docs:
6762
name: Documentation
6863
runs-on: ubuntu-latest
69-
needs: [doc-style]
64+
needs: [style]
7065
steps:
7166
- uses: actions/checkout@v4
7267

@@ -247,7 +242,6 @@ jobs:
247242
uses: ansys/actions/release-github@v8
248243
with:
249244
library-name: ${{ env.PACKAGE_NAME }}
250-
token: ${{ secrets.GITHUB_TOKEN }}
251245

252246
doc-deploy-stable:
253247
name: "Deploy stable documentation"

.github/workflows/nightly.yml

+3-23
Original file line numberDiff line numberDiff line change
@@ -25,28 +25,8 @@ concurrency:
2525
jobs:
2626

2727
style:
28-
name: Code style
29-
runs-on: ubuntu-latest
30-
steps:
31-
- uses: actions/checkout@v4
32-
- name: Set up Python
33-
uses: actions/setup-python@v5
34-
with:
35-
python-version: ${{ env.MAIN_PYTHON_VERSION }}
36-
- name: Install dependencies
37-
run: |
38-
python -m pip install --upgrade pip setuptools tox
39-
- name: Test with tox
40-
run: tox -e style
41-
42-
doc-style:
43-
name: Documentation Style Check
44-
runs-on: ubuntu-latest
45-
steps:
46-
- name: PyAnsys documentation style checks
47-
uses: ansys/actions/doc-style@v8
48-
with:
49-
token: ${{ secrets.GITHUB_TOKEN }}
28+
uses: ./.github/workflows/style.yml
29+
secrets: inherit
5030

5131
tests:
5232
strategy:
@@ -98,7 +78,7 @@ jobs:
9878
docs:
9979
name: Documentation
10080
runs-on: ubuntu-latest
101-
needs: [style, doc-style]
81+
needs: [style]
10282
steps:
10383
- uses: actions/checkout@v4
10484

.github/workflows/style.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Style (callable)
2+
on:
3+
workflow_call:
4+
5+
env:
6+
MAIN_PYTHON_VERSION: '3.12'
7+
8+
jobs:
9+
10+
style:
11+
name: Code style
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Python
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: ${{ env.MAIN_PYTHON_VERSION }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip setuptools tox
22+
- name: Test with tox
23+
run: tox -e style
24+
25+
doc-style:
26+
name: Documentation Style Check
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: PyAnsys documentation style checks
30+
uses: ansys/actions/doc-style@v8
31+
with:
32+
token: ${{ secrets.GITHUB_TOKEN }}

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ repos:
3535
rev: v0.4.4
3636
hooks:
3737
- id: add-license-headers
38-
files: '(ansys|examples|tests)/.*\.(py)|\.(proto)|generate_resources.py|archive_examples.py'
38+
files: '(ansys|examples|tests)/.*\.(py)|generate_resources.py|archive_examples.py'
3939
args:
4040
- --start_year=2022
4141

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
3+
Copyright (c) 2022 - 2025 ANSYS, Inc. and/or its affiliates.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

examples/cfx_static_mixer/exec_cfx.py

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

examples/cfx_static_mixer/project_setup.py

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

examples/fluent_2d_heat_exchanger/project_setup.py

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

examples/fluent_nozzle/project_setup.py

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

examples/lsdyna_cylinder_plate/lsdyna_job.py

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

examples/mapdl_linked_analyses/project_setup.py

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

examples/mapdl_motorbike_frame/exec_mapdl.py

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

examples/mapdl_motorbike_frame/project_query.py

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

examples/mapdl_motorbike_frame/project_setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2022 - 2024 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2022 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#
@@ -352,7 +352,7 @@ def create_project(
352352
parser.add_argument("-n", "--name", type=str, default="Mapdl Motorbike Frame")
353353
parser.add_argument("-j", "--num-jobs", type=int, default=50)
354354
parser.add_argument("-es", "--use-exec-script", default=False, action="store_true")
355-
parser.add_argument("-U", "--url", default="https://127.0.0.1:8443/hps")
355+
parser.add_argument("-U", "--url", default="https://10.231.106.165:3000/hps")
356356
parser.add_argument("-u", "--username", default="repuser")
357357
parser.add_argument("-p", "--password", default="repuser")
358358
parser.add_argument("-v", "--ansys-version", default=__ansys_apps_version__)

examples/mapdl_motorbike_frame/task_files.py

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

examples/mapdl_tyre_performance/project_setup.py

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

examples/python_large_output/evaluate.py

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

examples/python_large_output/exec_python.py

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

examples/python_large_output/project_setup.py

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

examples/python_linked_multi_process_step/eval.py

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

examples/python_linked_multi_process_step/project_setup.py

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

examples/python_multi_process_step/eval.py

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

examples/python_multi_process_step/project_setup.py

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

examples/python_multi_process_step/task_files.py

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

examples/python_two_bar_truss_problem/evaluate.py

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

examples/python_two_bar_truss_problem/exec_python.py

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

examples/python_two_bar_truss_problem/project_setup.py

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

generate_resources.py

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

src/ansys/hps/client/__init__.py

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

src/ansys/hps/client/__version__.py

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

src/ansys/hps/client/auth/__init__.py

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

src/ansys/hps/client/auth/api/__init__.py

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

src/ansys/hps/client/auth/api/auth_api.py

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

src/ansys/hps/client/auth/resource/__init__.py

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

src/ansys/hps/client/auth/resource/user.py

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

src/ansys/hps/client/auth/schema/__init__.py

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

src/ansys/hps/client/auth/schema/user.py

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

src/ansys/hps/client/authenticate.py

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

src/ansys/hps/client/client.py

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

src/ansys/hps/client/common/__init__.py

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

src/ansys/hps/client/common/base_resource.py

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

src/ansys/hps/client/common/base_schema.py

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

src/ansys/hps/client/common/dict_model.py

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

src/ansys/hps/client/common/restricted_value.py

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

src/ansys/hps/client/connection.py

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

src/ansys/hps/client/exceptions.py

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

src/ansys/hps/client/jms/__init__.py

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

src/ansys/hps/client/jms/api/__init__.py

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

src/ansys/hps/client/jms/api/base.py

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

0 commit comments

Comments
 (0)