Skip to content
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

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 24.10.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.1.1
hooks:
- id: flake8
types: [file, python]
1 change: 1 addition & 0 deletions examples/cluster/plot_kmedoids_digits.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
In this example we compare different pairwise distance
metrics for K-Medoids.
"""

import numpy as np
import matplotlib.pyplot as plt

Expand Down
1 change: 1 addition & 0 deletions examples/eigenpro/plot_eigenpro_synthetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
the number of features exceeds 500, it begins to outperform
SVM and shows more stability.
"""

print(__doc__)

import matplotlib
Expand Down
1 change: 1 addition & 0 deletions examples/kernel_approximation/plot_kernel_approximation.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
in :ref:`kernel_approximation`.

"""

print(__doc__)

# Author: Gael Varoquaux <gael dot varoquaux at normalesup dot org>
Expand Down
1 change: 1 addition & 0 deletions examples/plot_clara_digits.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
In this example we compare different computation time of K-Medoids and CLARA on
the handwritten digits data.
"""

import numpy as np
import matplotlib.pyplot as plt
import time
Expand Down
1 change: 1 addition & 0 deletions sklearn_extra/cluster/tests/test_k_medoids.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Testing for K-Medoids"""

import warnings
import numpy as np
from unittest import mock
Expand Down
Loading