Coverage for sources/libravore/__init__.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.10.4, created at 2025-08-18 12:09 +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''' Misspelling of "librovore". See the Librovore package instead. ''' 

22 

23 

24import warnings as _warnings 

25 

26from librovore import * # pyright: ignore 

27 

28from . import __ 

29# --- BEGIN: Injected by Copier --- 

30# --- END: Injected by Copier --- 

31 

32 

33__version__ = '1.0' 

34 

35 

36_warnings.warn( 

37 "You have imported 'libravore' which is a misspelling of " 

38 "'librovore'. Consider updating your code to use 'librovore' (with an " 

39 "'o') instead.", 

40 UserWarning, 

41 stacklevel=2 

42) 

43 

44 

45# TODO: Reclassify package modules as immutable and concealed.