Skip to content

Commit

Permalink
update typos config, ignore torch.arange
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent2916 committed Apr 2, 2024
1 parent 1a8ea91 commit 328fcb8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,12 @@ exclude_also = [
]

[tool.typos.default]
extend-words = { adaptee = "adaptee" }
extend-ignore-identifiers-re = ["NDArray*", "interm", "af000ded"]

[tool.typos.default.extend-words]
adaptee = "adaptee" # Common name for an adapter's target
arange = "arange" # Commonly used via `from torch import arange`

[tool.pytest.ini_options]
filterwarnings = [
"ignore::UserWarning:segment_anything_hq.modeling.tiny_vit_sam.*",
Expand Down

0 comments on commit 328fcb8

Please sign in to comment.