Skip to content

Commit

Permalink
Remove pylintrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Martinez committed Apr 5, 2022
1 parent d88d301 commit a8e69b0
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 455 deletions.
1 change: 0 additions & 1 deletion ansys/fluent/core/launcher/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def _get_subprocess_kwargs_for_fluent(env: Dict[str, Any]) -> Dict[str, Any]:
return kwargs


# pylint: disable=unused-argument
def launch_fluent(
version: str = None,
precision: str = None,
Expand Down
1 change: 0 additions & 1 deletion ansys/fluent/core/meshing/tui.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""This is an auto-generated file. DO NOT EDIT!"""
# pylint: disable=line-too-long

from ansys.fluent.core.meta import PyMenuMeta, PyNamedObjectMeta
from ansys.fluent.core.services.datamodel_tui import PyMenu
Expand Down
2 changes: 0 additions & 2 deletions ansys/fluent/core/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
from collections.abc import MutableMapping
from pprint import pformat

# pylint: disable=unused-private-member
# pylint: disable=bad-mcs-classmethod-argument
from ansys.fluent.core.services.datamodel_tui import PyMenu


Expand Down
6 changes: 0 additions & 6 deletions ansys/fluent/core/solver/flobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ def to_python_keys(cls, value):
def _create_child_object(self, cname: str):
ret = self._objects.get(cname)
if not ret:
#pylint: disable=no-member
cls = self.__class__.child_object_type
ret = self._objects[cname] = cls(cname, self)
return ret
Expand Down Expand Up @@ -536,7 +535,6 @@ def to_python_keys(cls, value):
command_names = []

def _update_objects(self):
# pylint: disable=no-member
cls = self.__class__.child_object_type
self._objects = [cls(str(x), self) for x in range(self.get_size())]

Expand Down Expand Up @@ -655,15 +653,13 @@ def get_cls(name, info, parent = None):
cls.child_names = []
for cname, cinfo in children.items():
ccls = get_cls(cname, cinfo, cls)
#pylint: disable=no-member
cls.child_names.append(ccls.__name__)
setattr(cls, ccls.__name__, ccls)
commands = info.get('commands')
if commands:
cls.command_names = []
for cname, cinfo in commands.items():
ccls = get_cls(cname, cinfo, cls)
#pylint: disable=no-member
cls.command_names.append(ccls.__name__)
setattr(cls, ccls.__name__, ccls)

Expand All @@ -680,7 +676,6 @@ def get_cls(name, info, parent = None):
th = th.__name__ if hasattr(th, '__name__') else str(th)
doc += f' {ccls.__name__} : {th}\n'
doc += f' {ccls.__doc__}\n'
#pylint: disable=no-member
cls.argument_names.append(ccls.__name__)
setattr(cls, ccls.__name__, ccls)
cls.__doc__ = doc
Expand Down Expand Up @@ -723,6 +718,5 @@ def get_root(flproxy) -> Group:
cls = settings.root
except Exception:
cls = get_cls('', obj_info)
#pylint: disable=no-member
cls.set_flproxy(flproxy)
return cls()
1 change: 0 additions & 1 deletion ansys/fluent/core/solver/tui.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""This is an auto-generated file. DO NOT EDIT!"""
# pylint: disable=line-too-long

from ansys.fluent.core.meta import PyMenuMeta, PyNamedObjectMeta
from ansys.fluent.core.services.datamodel_tui import PyMenu
Expand Down
2 changes: 1 addition & 1 deletion codegen/pyprotogen.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def build_python_grpc(protos_path=_PROTOS_PATH, out_path=_PY_OUT_PATH):
"""
# verify proto tools are installed
try:
import grpc_tools # noqa: F401, E501 # pylint: disable=unused-import, import-outside-toplevel
import grpc_tools # noqa: F401, E501
except ImportError:
raise ImportError(
"Missing ``grpcio-tools`` package.\n"
Expand Down
1 change: 0 additions & 1 deletion codegen/tuigen.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ def generate(self):
"#\n"
"# This is an auto-generated file. DO NOT EDIT!\n"
"#\n"
"# pylint: disable=line-too-long\n\n"
"from ansys.fluent.core.meta "
"import PyMenuMeta, PyNamedObjectMeta\n"
"from ansys.fluent.core.services.datamodel_tui "
Expand Down
Loading

0 comments on commit a8e69b0

Please sign in to comment.