Skip to content

Commit

Permalink
Update pre-commit versions and fix rank doc
Browse files Browse the repository at this point in the history
  • Loading branch information
KulikDM committed Oct 18, 2024
1 parent fc72d49 commit 45863b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
name: Format docstrings

- repo: https://github.com/asottile/pyupgrade
rev: v3.17.0
rev: v3.18.0
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand All @@ -42,7 +42,7 @@ repos:
name: Sort imports

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.6.9
rev: v0.7.0
hooks:
- id: ruff
args: [--exit-non-zero-on-fix, --fix, --line-length=180]
Expand Down
2 changes: 1 addition & 1 deletion docs/ranking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ Below is a simple example of how to apply the ``RANK`` method:
from pyod.models.mcd import MCD
from pyod.models.qmcd import QMCD
from pythresh.thresholds.filter import FILTER
from pythresh.utils.ranking import RANK
from pythresh.utils.rank import RANK
# Initialize models
clfs = [KNN(), IForest(), PCA(), MCD(), QMCD()]
Expand Down

0 comments on commit 45863b7

Please sign in to comment.