Skip to content

Commit

Permalink
Merge branch 'main' into feat/chamfer
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahrb authored Jan 9, 2025
2 parents 0984b86 + 01ed70e commit 9c018f1
Show file tree
Hide file tree
Showing 134 changed files with 156 additions and 132 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exclude: "tests/integration/files"
repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3
rev: v0.8.6
hooks:
- id: ruff
- id: ruff-format
Expand Down
10 changes: 10 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,15 @@ SOFTWARE.

## Reporting a Vulnerability

> [!CAUTION]
> Please do not report any security vulnerabilities through GitHub issues.
If you detect a vulnerability, contact the [PyAnsys Core team](mailto:[email protected])
mentioning the repository and the details of your finding. The team will address it as soon as possible.

Please provide us with the following information:

- Any specific configuration settings needed to reproduce the problem
- Step-by-step guidance to reproduce the problem
- The exact location of the problematic source code, including tag, branch, commit, or a direct URL
- The potential consequences of the vulnerability, along with a description of how an attacker could take advantage of the issue
1 change: 1 addition & 0 deletions doc/changelog.d/1597.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump ansys-sphinx-theme[autoapi] from 1.2.3 to 1.2.4 in the docs-deps group
1 change: 1 addition & 0 deletions doc/changelog.d/1598.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump notebook from 7.3.1 to 7.3.2 in the docs-deps group
1 change: 1 addition & 0 deletions doc/changelog.d/1599.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump numpy from 2.2.0 to 2.2.1
1 change: 1 addition & 0 deletions doc/changelog.d/1600.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump ansys-tools-path from 0.7.0 to 0.7.1
1 change: 1 addition & 0 deletions doc/changelog.d/1601.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pre-commit automatic update
1 change: 1 addition & 0 deletions doc/changelog.d/1602.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump nbsphinx from 0.9.5 to 0.9.6 in the docs-deps group
1 change: 1 addition & 0 deletions doc/changelog.d/1603.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
make_child_logger only takes 2 args.
1 change: 1 addition & 0 deletions doc/changelog.d/1604.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Numpy is already imported at the top of the module.
1 change: 1 addition & 0 deletions doc/changelog.d/1605.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Explain how to report a security issue.
1 change: 1 addition & 0 deletions doc/changelog.d/1608.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
update license year using pre-commit hook
1 change: 1 addition & 0 deletions doc/changelog.d/1609.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump nbconvert from 7.16.4 to 7.16.5 in the docs-deps group
1 change: 1 addition & 0 deletions doc/changelog.d/1610.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump ansys-api-geometry from 0.4.24 to 0.4.25
1 change: 1 addition & 0 deletions doc/changelog.d/1611.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump sphinx-autodoc-typehints from 2.5.0 to 3.0.0 in the docs-deps group
1 change: 1 addition & 0 deletions doc/changelog.d/1612.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump scipy from 1.14.1 to 1.15.0
1 change: 1 addition & 0 deletions doc/changelog.d/1615.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pre-commit automatic update
1 change: 1 addition & 0 deletions doc/changelog.d/1616.dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bump trame-vtk from 2.8.12 to 2.8.13
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
]

dependencies = [
"ansys-api-geometry==0.4.24",
"ansys-api-geometry==0.4.25",
"ansys-tools-path>=0.3,<1",
"ansys-tools-visualization-interface>=0.2.6,<1",
"attrs!=24.3.0",
Expand All @@ -50,13 +50,13 @@ all = [
]
tests = [
"ansys-platform-instancemanagement==1.1.2",
"ansys-tools-path==0.7.0",
"ansys-tools-path==0.7.1",
"ansys-tools-visualization-interface==0.6.2",
"beartype==0.19.0",
"docker==7.1.0",
"grpcio==1.67.1",
"grpcio-health-checking==1.67.1",
"numpy==2.2.0",
"numpy==2.2.1",
"Pint==0.24.4",
"protobuf==5.28.3",
"pytest==8.3.4",
Expand All @@ -65,7 +65,7 @@ tests = [
"pytest-xvfb==3.0.0",
"pyvista[jupyter]==0.44.2",
"requests==2.32.3",
"scipy==1.14.1",
"scipy==1.15.0",
"semver==3.0.2",
"six==1.17.0",
"vtk==9.3.1",
Expand All @@ -77,8 +77,8 @@ tests-minimal = [
"pytest-xvfb==3.0.0",
]
doc = [
"ansys-sphinx-theme[autoapi]==1.2.3",
"ansys-tools-path==0.7.0",
"ansys-sphinx-theme[autoapi]==1.2.4",
"ansys-tools-path==0.7.1",
"ansys-tools-visualization-interface==0.6.2",
"beartype==0.19.0",
"docker==7.1.0",
Expand All @@ -88,24 +88,24 @@ doc = [
"jupyter_sphinx==0.5.3",
"jupytext==1.16.6",
"myst-parser==4.0.0",
"nbconvert==7.16.4",
"nbsphinx==0.9.5",
"notebook==7.3.1",
"nbconvert==7.16.5",
"nbsphinx==0.9.6",
"notebook==7.3.2",
"numpydoc==1.8.0",
"numpy==2.2.0",
"numpy==2.2.1",
"panel==1.5.5",
"Pint==0.24.4",
"protobuf==5.28.3",
"pyvista[jupyter]==0.44.2",
"requests==2.32.3",
"scipy==1.14.1",
"scipy==1.15.0",
"semver==3.0.2",
"six==1.17.0",
"sphinx==8.1.3",
"sphinx-autodoc-typehints==2.5.0",
"sphinx-autodoc-typehints==3.0.0",
"sphinx-copybutton==0.5.2",
"sphinx-jinja==2.0.2",
"trame-vtk==2.8.12",
"trame-vtk==2.8.13",
"vtk==9.3.1",
]

Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/connection/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/connection/backend.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/connection/client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/connection/conversions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/connection/defaults.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/connection/docker_instance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/connection/launcher.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/connection/product_instance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/connection/validate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/beam.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/body.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/component.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/coordinate_system.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/design.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/designpoint.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/edge.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/face.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/part.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/designer/selection.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/errors.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
4 changes: 2 additions & 2 deletions src/ansys/geometry/core/logger.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down Expand Up @@ -499,7 +499,7 @@ def add_child_logger(self, suffix: str, level: str | None = None):
Logger class.
"""
name = self.logger.name + "." + suffix
self._instances[name] = self._make_child_logger(self, name, level)
self._instances[name] = self._make_child_logger(name, level)
return self._instances[name]

def add_instance_logger(
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/materials/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/materials/material.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/materials/property.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/math/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/math/bbox.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/math/constants.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/math/frame.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/math/matrix.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/math/misc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/math/plane.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/math/point.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/math/vector.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/misc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/misc/accuracy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/misc/auxiliary.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/misc/checks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/misc/measurements.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/geometry/core/misc/options.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
# SPDX-License-Identifier: MIT
#
#
Expand Down
Loading

0 comments on commit 9c018f1

Please sign in to comment.