Skip to content

Commit

Permalink
Remove all pylint ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
huong-li-nguyen committed Aug 7, 2024
1 parent afb2fa5 commit 0a94ebd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vizro-ai/src/vizro_ai/_vizro_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _get_chart_code(self, df: pd.DataFrame, user_input: str) -> str:
# TODO retained for some chat application integration, need deprecation handling
return self._run_plot_tasks(df, user_input, explain=False).code

def plot( # pylint: disable=too-many-arguments
def plot(
self,
df: pd.DataFrame,
user_input: str,
Expand Down
1 change: 0 additions & 1 deletion vizro-ai/src/vizro_ai/utils/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ def _display_markdown(code_snippet: str, biz_insights: str, code_explain: str) -
"""
try:
# pylint: disable=import-outside-toplevel
from IPython.display import Markdown, display
except Exception as exc:
raise ImportError("Please install IPython before proceeding in jupyter environment.") from exc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def test_no_components(self):
],
indirect=True,
)
def test_all_action_loop_components( # pylint: disable=too-many-arguments
def test_all_action_loop_components(
self,
fundamental_components,
gateway_components,
Expand Down
2 changes: 1 addition & 1 deletion vizro-core/tests/unit/vizro/models/_action/test_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def test_get_callback_mapping_no_inputs_no_outputs(self, identity_action_functio
),
],
)
def test_get_callback_mapping_with_inputs_and_outputs( # pylint: disable=too-many-arguments
def test_get_callback_mapping_with_inputs_and_outputs(
self,
inputs_and_outputs,
identity_action_function,
Expand Down

0 comments on commit 0a94ebd

Please sign in to comment.