Closed
Description
Another case is when we see an increase in detected typos, but not sure if they shall be treated as typos...
- repo: https://github.com/crate-ci/typos
rev: v1.20.0
hooks:
- id: typos
gives following
error: `arange` should be `arrange`
--> src/torchmetrics/functional/retrieval/precision_recall_curve.py:89:22
|
89 | topk = torch.arange(1, max_k + 1, device=preds.device)
| ^^^^^^
|
error: `arange` should be `arrange`
--> tests/unittests/image/test_psnr.py:55:44
|
55 | batch = np.moveaxis(batch, dim, np.arange(-num_dims, 0))
| ^^^^^^
|
error: `arange` should be `arrange`
see full log here
Metadata
Metadata
Assignees
Labels
No labels