Buckets:
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parent.parent | |
| ARABIC_SCRIPT_NUMERALS = {*range(0x0660, 0x066E), *range(0x06F0, 0x06FA)} | |
| def test_code_has_no_literal_arabic_script_digits_or_separators(): | |
| """Digits and separators must be built from code points, never typed as characters.""" | |
| for folder in ("src", "tests"): | |
| for path in (ROOT / folder).rglob("*.py"): | |
| for n, line in enumerate(path.read_text(encoding="utf-8").splitlines(), 1): | |
| assert not any(ord(c) in ARABIC_SCRIPT_NUMERALS for c in line), f"{path.name}:{n}" | |
Xet Storage Details
- Size:
- 580 Bytes
- Xet hash:
- 85c309d1ff2a5d2532b5bf26d4cefe12685df618222e9376bbcd73210e3b1e55
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.