Skip to content

Commit e5f585a

Browse files
committed
Added ruff format to preconfig
1 parent 17141cb commit e5f585a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ repos:
1717
rev: v0.15.12
1818
hooks:
1919
- id: ruff
20+
name: Fix code
2021
args: [--exit-non-zero-on-fix, --fix, --line-length=180]
2122
exclude: "\\.ipynb$"
22-
name: Lint code
23+
- id: ruff-format
24+
name: Format code
25+
exclude: "\\.ipynb$"

pythresh/thresholds/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def _patch_ridge(est):
182182

183183
@staticmethod
184184
@njit(fastmath=True, parallel=True)
185-
def _wrap_around_discrepancy(data, check): # pragma: no cover
185+
def _wrap_around_discrepancy(data, check): # pragma: no cover
186186
"""Wrap-around Quasi-Monte Carlo discrepancy method."""
187187
n = data.shape[0]
188188
d = data.shape[1]

0 commit comments

Comments
 (0)