Skip to content

Commit

Permalink
lint: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gventuri committed May 16, 2023
1 parent c76e39c commit ef82b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandasai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def remove_df_overwrites(self, code: str) -> str:
def clean_code(self, code: str) -> str:
"""Clean the code to prevent malicious code execution"""

# TODO: avoid iterating over the code twice
# TODO: avoid iterating over the code twice # pylint: disable=W0511
code = self.remove_unsafe_imports(code)
code = self.remove_df_overwrites(code)
return code
Expand Down

0 comments on commit ef82b0f

Please sign in to comment.