Skip to content

Commit

Permalink
Fix Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys committed Apr 10, 2024
1 parent 29f0421 commit aa3e689
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyaedt/hfss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ def create_sbr_linked_antenna(
Whether to use composite ports. The default is ``False``.
use_global_current : bool, optional
Whether to use the global current. The default is ``True``.
current_conformance: str, optional
current_conformance : str, optional
The default is ``"Disable"``.
thin_sources : bool, optional
The default is ``True``.
Expand Down
4 changes: 2 additions & 2 deletions pyaedt/mechanical.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,9 +686,9 @@ def create_setup(self, name="MySetupAuto", setup_type=None, **kwargs):
elif setup_type in SetupKeys.SetupNames:
setup_type = SetupKeys.SetupNames.index(setup_type)
if "props" in kwargs:
return self._create_setup(name=name, setuptype=setup_type, props=kwargs["props"])
return self._create_setup(name=name, setup_type=setup_type, props=kwargs["props"])
else:
setup = self._create_setup(name=name, setuptype=setup_type)
setup = self._create_setup(name=name, setup_type=setup_type)
setup.auto_update = False
for arg_name, arg_value in kwargs.items():
if setup[arg_name] is not None:
Expand Down
1 change: 1 addition & 0 deletions pyaedt/rmxprt.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

from pyaedt.application.AnalysisRMxprt import FieldAnalysisRMxprt
from pyaedt.generic.general_methods import pyaedt_function_handler
from pyaedt.modules.SetupTemplates import SetupKeys


class RMXprtModule(object):
Expand Down

0 comments on commit aa3e689

Please sign in to comment.