Skip to content

Commit

Permalink
typehints
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Oct 11, 2023
1 parent 5d90437 commit abab8ae
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions uiucprescon/build/conan/v2.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
from __future__ import annotations
from typing import List, Optional, TYPE_CHECKING
from conans.client.cache.cache import ClientCache
from conan.api.conan_api import ConanAPI
try:

from conans.client.cache.cache import ClientCache
from conan.api.conan_api import ConanAPI
except ImportError as error:
raise ImportError("conan 2.0 api not found.") from error

import dataclasses
if TYPE_CHECKING:
from uiucprescon.build.conan_libs import ConanBuildInfo
Expand Down

0 comments on commit abab8ae

Please sign in to comment.