Skip to content

[pre-commit.ci] pre-commit autoupdate #8294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
- id: auto-walrus

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.255
rev: v0.0.257
hooks:
- id: ruff

Expand Down
4 changes: 0 additions & 4 deletions data_structures/binary_tree/avl_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,15 @@ def get_height(self) -> int:

def set_data(self, data: Any) -> None:
self.data = data
return

def set_left(self, node: MyNode | None) -> None:
self.left = node
return

def set_right(self, node: MyNode | None) -> None:
self.right = node
return

def set_height(self, height: int) -> None:
self.height = height
return


def get_height(node: MyNode | None) -> int:
Expand Down
1 change: 0 additions & 1 deletion machine_learning/polymonial_regression.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ def viz_polymonial():
plt.xlabel("Position level")
plt.ylabel("Salary")
plt.show()
return


if __name__ == "__main__":
Expand Down