Add Debian packages, support Ubuntu 22 via tomli
Some checks failed
CI / test (push) Successful in 46s
Trivy / test (push) Waiting to run
Lint / test (push) Has been cancelled

This commit is contained in:
Miguel Jacq 2025-12-15 15:01:28 +11:00
parent b71f41212a
commit 9f9301e17e
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
12 changed files with 305 additions and 720 deletions

View file

@ -193,8 +193,10 @@ def main():
else:
print(colorize("⚠️ YAML data structures DIFFER", "yellow"))
elif fmt == "toml":
import tomllib
try:
import tomllib
except Exception:
import tomli as tomllib
if tomllib.loads(original_text) == tomllib.loads(regenerated_text):
print(colorize("✅ TOML data structures are IDENTICAL", "green"))
else: