Skip to content

Commit 3c639ff

Browse files
authored
Merge branch 'main' into feat/common-plotter
2 parents 1d6cfb5 + b5cdb22 commit 3c639ff

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
additional_dependencies: [tomli]
3535

3636
- repo: https://github.com/codespell-project/codespell
37-
rev: v2.2.6
37+
rev: v2.3.0
3838
hooks:
3939
- id: codespell
4040
args: ["--ignore-words", "doc/styles/config/vocabularies/ANSYS/accept.txt", "-w"]

CODE_OF_CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ contributors and maintainers pledge to making participation in our
77
project and our community a harassment-free experience for everyone,
88
regardless of age, body size, disability, ethnicity, sex
99
characteristics, gender identity and expression, level of experience,
10-
education, socio-economic status, nationality, personal appearance,
10+
education, socioeconomic status, nationality, personal appearance,
1111
race, religion, or sexual identity and orientation.
1212

1313
## Our Standards

doc/changelog.d/1224.changed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
chore: pre-commit automatic update

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Issues = "https://github.com/ansys/pyansys-geometry/issues"
105105
Discussions = "https://github.com/ansys/pyansys-geometry/discussions"
106106
Documentation = "https://geometry.docs.pyansys.com"
107107
Releases = "https://github.com/ansys/pyansys-geometry/releases"
108-
Changelog = "https://github.com/ansys/pyansys-geometry/blob/main/doc/source/changelog.rst"
108+
Changelog = "https://github.com/ansys/pyansys-geometry/blob/main/doc/source/changelog.rst"
109109

110110
[tool.flit.module]
111111
name = "ansys.geometry.core"
@@ -117,7 +117,6 @@ line-length = 100
117117
profile = "black"
118118
force_sort_within_sections = true
119119
line_length = 100
120-
default_section = "THIRDPARTY"
121120
src_paths = ["doc", "src", "tests"]
122121

123122
[tool.docformatter]

src/ansys/geometry/core/connection/product_instance.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
MANIFEST_FILENAME = "Presentation.ApiServerAddIn.Manifest.xml"
5757
"""
58-
Default backend's addin filename.
58+
Default backend's add-in filename.
5959
6060
To be used only for local start of Ansys Discovery or Ansys SpaceClaim.
6161
"""
@@ -100,7 +100,7 @@
100100

101101
BACKEND_ADDIN_MANIFEST_ARGUMENT = "/ADDINMANIFESTFILE="
102102
"""
103-
The argument to specify the backend's addin manifest file's path.
103+
The argument to specify the backend's add-in manifest file's path.
104104
105105
To be used only with Ansys Discovery and Ansys SpaceClaim.
106106
"""
@@ -135,7 +135,7 @@
135135

136136
BACKEND_SPLASH_OFF = "/Splash=False"
137137
"""
138-
The argument to specify the backend's addin manifest file's path.
138+
The argument to specify the backend's add-in manifest file's path.
139139
140140
To be used only with Ansys Discovery and Ansys SpaceClaim.
141141
"""
@@ -380,7 +380,7 @@ def _is_port_available(port: int, host: str = "localhost") -> bool:
380380
def _manifest_path_provider(
381381
version: int, available_installations: Dict, manifest_path: str = None
382382
) -> str:
383-
"""Return the ApiServer's addin manifest file path."""
383+
"""Return the ApiServer's add-in manifest file path."""
384384
if manifest_path:
385385
if os.path.exists(manifest_path):
386386
return manifest_path

src/ansys/geometry/core/logger.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -442,14 +442,14 @@ def setLevel(self, level="DEBUG"):
442442
each_handler.setLevel(level)
443443
self._level = level
444444

445-
def _make_child_logger(self, sufix, level):
445+
def _make_child_logger(self, suffix, level):
446446
"""
447447
Create a child logger.
448448
449449
This method uses the ``getChild()`` method or copies attributes between the
450450
``PyAnsys_Geometry_global`` logger and the new one.
451451
"""
452-
logger = logging.getLogger(sufix)
452+
logger = logging.getLogger(suffix)
453453
logger.std_out_handler = None
454454
logger.file_handler = None
455455

@@ -487,7 +487,7 @@ def _make_child_logger(self, sufix, level):
487487
logger.propagate = True
488488
return logger
489489

490-
def add_child_logger(self, sufix: str, level: Optional[str] = None):
490+
def add_child_logger(self, suffix: str, level: Optional[str] = None):
491491
"""
492492
Add a child logger to the main logger.
493493
@@ -499,7 +499,7 @@ def add_child_logger(self, sufix: str, level: Optional[str] = None):
499499
500500
Parameters
501501
----------
502-
sufix : str
502+
suffix : str
503503
Name of the child logger.
504504
level : str, default: None
505505
Level of logging.
@@ -509,7 +509,7 @@ def add_child_logger(self, sufix: str, level: Optional[str] = None):
509509
logging.Logger
510510
Logger class.
511511
"""
512-
name = self.logger.name + "." + sufix
512+
name = self.logger.name + "." + suffix
513513
self._instances[name] = self._make_child_logger(self, name, level)
514514
return self._instances[name]
515515

0 commit comments

Comments
 (0)