Add Debian packages, support Ubuntu 22 via tomli
This commit is contained in:
parent
b71f41212a
commit
9f9301e17e
12 changed files with 305 additions and 720 deletions
|
|
@ -1,12 +1,16 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import tomllib
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
from . import DictLikeHandler
|
||||
from ..loop_analyzer import LoopCandidate
|
||||
|
||||
try:
|
||||
import tomllib
|
||||
except Exception:
|
||||
import tomli as tomllib
|
||||
|
||||
|
||||
class TomlHandler(DictLikeHandler):
|
||||
fmt = "toml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue