aprf-reader 0.4.0__tar.gz → 0.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aprf_reader-0.4.0/src/aprf_reader.egg-info → aprf_reader-0.4.1}/PKG-INFO +1 -1
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/pyproject.toml +1 -1
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader/__init__.py +1 -1
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader/report.py +2 -2
- {aprf_reader-0.4.0 → aprf_reader-0.4.1/src/aprf_reader.egg-info}/PKG-INFO +1 -1
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/LICENSE +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/README.md +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/setup.cfg +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader/cli.py +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader/load.py +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader/render.py +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader/summary.py +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader.egg-info/SOURCES.txt +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader.egg-info/dependency_links.txt +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader.egg-info/entry_points.txt +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader.egg-info/requires.txt +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/src/aprf_reader.egg-info/top_level.txt +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/tests/test_reader.py +0 -0
- {aprf_reader-0.4.0 → aprf_reader-0.4.1}/tests/test_web_parity.py +0 -0
|
@@ -115,7 +115,7 @@ def _counts(value: object, where: str, section: str) -> dict[str, int]:
|
|
|
115
115
|
for name, n in value.items():
|
|
116
116
|
k = _int(n)
|
|
117
117
|
if k is None or k < 0 or k > MAX_COUNT:
|
|
118
|
-
raise ReportError(f"{where}.{name} is not a count ({section}): {json.dumps(n, ensure_ascii=False, separators=(
|
|
118
|
+
raise ReportError(f"{where}.{name} is not a count ({section}): {json.dumps(n, ensure_ascii=False, separators=(',', ':'))}")
|
|
119
119
|
out[str(name)] = k
|
|
120
120
|
return out
|
|
121
121
|
|
|
@@ -194,7 +194,7 @@ def _warnings(h: dict, segments: tuple[Segment, ...]) -> tuple[tuple[str, str],
|
|
|
194
194
|
raw = h["sdi_used"]
|
|
195
195
|
if not (raw in ("N/A", "N/F") or (isinstance(raw, str) and SDI_FORMAT.fullmatch(raw))):
|
|
196
196
|
out.append(("sdi_used is not N/A, N/F, or the sdi value as published in DNS (section 5.2.1)",
|
|
197
|
-
json.dumps(raw, ensure_ascii=False, separators=(
|
|
197
|
+
json.dumps(raw, ensure_ascii=False, separators=(',', ':'))))
|
|
198
198
|
keys = lambda attr: sorted({k for s in segments for k in getattr(s, attr)})
|
|
199
199
|
for k in keys("classification"):
|
|
200
200
|
if k not in NAMED_CLASSIFICATION:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|