diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-19 23:18:32 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-03-19 23:30:32 -0400 |
| commit | f570a865379fe62fbb07bb8dc70b2528fa735248 (patch) | |
| tree | afdf37f88b973f43cc992a25862b933ece334b6b /task | |
| parent | Add type ignore for tomllib import (diff) | |
| download | taskipy2-f570a865379fe62fbb07bb8dc70b2528fa735248.zip | |
Replace github actions CI with sourcehut builds
Diffstat (limited to '')
| -rw-r--r-- | taskipy/pyproject.py | 4 |
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, |