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

42 statements  

« prev     ^ index     » next       coverage.py v7.11.0, created at 2025-10-20 18:40 +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 

55 

56import accretive as accret 

57import appcore 

58import bs4 

59import dynadoc as ddoc 

60import detextive as detext 

61import exceptiongroup as excg 

62import frigid as immut 

63import markdownify 

64import typing_extensions as typx 

65# --- BEGIN: Injected by Copier --- 

66import tyro 

67# --- END: Injected by Copier --- 

68 

69from absence import Absential, absent, is_absent 

70from appcore import asyncf, generics 

71from appcore.state import Globals 

72 

73 

74simple_tyro_class = tyro.conf.configure( ) 

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