Coverage for sources/librovore/__/imports.py: 100%

40 statements  

« prev     ^ index     » next       coverage.py v7.10.6, created at 2025-09-06 02:25 +0000

1# vim: set filetype=python fileencoding=utf-8: 

2# -*- coding: utf-8 -*- 

3 

4#============================================================================# 

5# # 

6# Licensed under the Apache License, Version 2.0 (the "License"); # 

7# you may not use this file except in compliance with the License. # 

8# You may obtain a copy of the License at # 

9# # 

10# http://www.apache.org/licenses/LICENSE-2.0 # 

11# # 

12# Unless required by applicable law or agreed to in writing, software # 

13# distributed under the License is distributed on an "AS IS" BASIS, # 

14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 

15# See the License for the specific language governing permissions and # 

16# limitations under the License. # 

17# # 

18#============================================================================# 

19 

20 

21''' Common imports used throughout the package. ''' 

22 

23# ruff: noqa: F401 

24 

25 

26import abc 

27import asyncio 

28import base64 

29import collections.abc as cabc 

30import collections 

31import contextlib as ctxl 

32import datetime 

33import dataclasses as dcls 

34import enum 

35import functools as funct 

36import io 

37import inspect 

38import json 

39import locale 

40import os 

41import platform 

42import re 

43import shutil 

44import stat 

45import subprocess 

46import sys 

47import time 

48import types 

49import urllib.parse as urlparse 

50import warnings 

51 

52from logging import getLogger as acquire_scribe 

53from pathlib import Path 

54 

55import accretive as accret 

56import appcore 

57import dynadoc as ddoc 

58import detextive as detext 

59import exceptiongroup as excg 

60import frigid as immut 

61import typing_extensions as typx 

62# --- BEGIN: Injected by Copier --- 

63import tyro 

64# --- END: Injected by Copier --- 

65 

66from absence import Absential, absent, is_absent 

67from appcore import asyncf, generics 

68from appcore.state import Globals 

69 

70 

71simple_tyro_class = tyro.conf.configure( ) 

72standard_tyro_class = tyro.conf.configure( tyro.conf.OmitArgPrefixes )