mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 13:48:46 +00:00
update typos config, ignore torch.arange
This commit is contained in:
parent
1a8ea9180f
commit
328fcb8ed1
|
@ -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.*",
|
||||
|
|
Loading…
Reference in a new issue