Skip to content

Commit

Permalink
ignore pylint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
panh99 committed Jan 22, 2024
1 parent 2b54a53 commit b226b61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/py/flwr_tool/init_py_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def check_missing_init_files(absolute_path: str) -> None:

if __name__ == "__main__":
if len(sys.argv) == 0:
raise Exception(
raise Exception( # pylint: disable=W0719
"Please provide at least one directory path relative to your current working directory."
)
for i, _ in enumerate(sys.argv):
Expand Down
2 changes: 1 addition & 1 deletion src/py/flwr_tool/protoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def compile_all() -> None:
exit_code = protoc.main(command)

if exit_code != 0:
raise Exception(f"Error: {command} failed")
raise Exception(f"Error: {command} failed") # pylint: disable=W0719


if __name__ == "__main__":
Expand Down

0 comments on commit b226b61

Please sign in to comment.