This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/sbp by this push:
new 8c3875c2 Add a note about widening types to check with exarch
8c3875c2 is described below
commit 8c3875c26467d70a33c781d4f1bc45b3621d3d05
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Mar 5 15:23:41 2026 +0000
Add a note about widening types to check with exarch
---
atr/detection.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/atr/detection.py b/atr/detection.py
index bedf8cee..77ceba11 100644
--- a/atr/detection.py
+++ b/atr/detection.py
@@ -60,6 +60,7 @@ _EXPECTED: Final[dict[str, set[str]]] = {
}
_COMPOUND_SUFFIXES: Final = tuple(s for s in _EXPECTED if s.count(".") > 1)
+# TODO: Widen the range of types checked here
_QUARANTINE_ARCHIVE_SUFFIXES: Final[tuple[str, ...]] = (".tar.gz", ".tgz",
".zip")
_QUARANTINE_NORMALISED_SUFFIXES: Final[dict[str, str]] = {".tgz": ".tar.gz"}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]