aboutsummaryrefslogtreecommitdiffstats
path: root/task
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-03-19 23:18:32 -0400
committerEugene Triguba <hello@eugenetriguba.com>2026-03-19 23:30:32 -0400
commitf570a865379fe62fbb07bb8dc70b2528fa735248 (patch)
treeafdf37f88b973f43cc992a25862b933ece334b6b /task
parentAdd type ignore for tomllib import (diff)
downloadtaskipy2-f570a865379fe62fbb07bb8dc70b2528fa735248.zip
Replace github actions CI with sourcehut builds
Diffstat (limited to '')
-rw-r--r--taskipy/pyproject.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/taskipy/pyproject.py b/taskipy/pyproject.py
index fd382fd..a0b421b 100644
--- a/taskipy/pyproject.py
+++ b/taskipy/pyproject.py
@@ -2,9 +2,9 @@ from pathlib import Path
from typing import Any, Dict, MutableMapping, Optional, Union
try:
- import tomllib # type: ignore[no-redef]
+ import tomllib
except ImportError:
- import tomli as tomllib
+ import tomli as tomllib # type: ignore
from taskipy.exceptions import (
InvalidRunnerTypeError,