Skip to content

Commit 8174fda

Browse files
committed
Update pre-commit hooks
1 parent 079a101 commit 8174fda

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

.pre-commit-config.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
repos:
22

33
- repo: https://github.com/psf/black
4-
rev: 24.4.2 # Modify "blacken-docs" to point to this version
4+
rev: 25.1.0 # Modify "blacken-docs" to point to this version
55
hooks:
66
- id: black
77

88
- repo: https://github.com/adamchainz/blacken-docs
9-
rev: 1.16.0
9+
rev: 1.19.1
1010
hooks:
1111
- id: blacken-docs
12-
additional_dependencies: [black==24.4.2]
12+
additional_dependencies: [black==25.1.0]
1313

1414
- repo: https://github.com/pycqa/isort
15-
rev: 5.13.2
15+
rev: 6.0.1
1616
hooks:
1717
- id: isort
1818

1919
- repo: https://github.com/PyCQA/flake8
20-
rev: 7.1.0
20+
rev: 7.2.0
2121
hooks:
2222
- id: flake8
2323
exclude: "examples/"
2424

2525
- repo: https://github.com/codespell-project/codespell
26-
rev: v2.2.6
26+
rev: v2.4.1
2727
hooks:
2828
- id: codespell
2929

@@ -35,8 +35,9 @@ repos:
3535
exclude: "tests/|examples/"
3636

3737
- repo: https://github.com/ansys/pre-commit-hooks
38-
rev: v0.3.2
38+
rev: v0.5.2
3939
hooks:
4040
- id: add-license-headers
4141
args:
4242
- --start_year=2022
43+
- id: tech-review

doc/styles/config/vocabularies/ANSYS/accept.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ Pythonic
99
Ansys
1010
design_flow
1111
integration_plugins
12+
THIRDPARTY

examples/run_python_script/02_3_oscillator_optimization_on_EA.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
3131
It uses the ``oscillator_optimization_ea.py`` file to create and
3232
run a direct optimization for an oscillator with the EA (Evolutionary
33-
Algorithm) optimizer. It then explains how you can optionally save
33+
Algorithm) optimizer. It then explains how you can optionally save
3434
the project to a desired location.
3535
"""
3636

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ authors = [
1414
{name = "ANSYS, Inc.", email = "[email protected]"},
1515
]
1616
maintainers = [
17-
{name = "PyAnsys developers", email = "pyansys.maintainers@ansys.com"},
17+
{name = "ANSYS, Inc.", email = "pyansys.core@ansys.com"},
1818
]
1919

2020
classifiers = [

src/ansys/optislang/core/node_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ def get_node_type_from_str(node_id: str) -> NodeType:
10881088
"AlgorithmSystem_": AddinType.PYTHON_BASED_ALGORITHM_PLUGIN,
10891089
"AlgorithmSystemPlugin_": AddinType.ALGORITHM_PLUGIN,
10901090
"Custom_": AddinType.PYTHON_BASED_NODE_PLUGIN,
1091-
"CustomETKIntegration_": "", # TODO: append addin type
1091+
"CustomETKIntegration_": "", # TODO: append add-in type
10921092
"CustomIntegration_": AddinType.PYTHON_BASED_INTEGRATION_PLUGIN,
10931093
"CustomMop_": AddinType.PYTHON_BASED_MOP_NODE_PLUGIN,
10941094
"IntegrationPlugin_": AddinType.INTEGRATION_PLUGIN,

src/ansys/optislang/core/tcp/nodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2140,7 +2140,7 @@ def _get_subtypes(
21402140

21412141
# region ParametricSystems
21422142
class TcpParametricSystemProxy(TcpSystemProxy, ParametricSystem):
2143-
"""Provides for creating and operationg on parametric system."""
2143+
"""Provides for creating and operating on parametric system."""
21442144

21452145
def __init__(
21462146
self,

0 commit comments

Comments
 (0)