• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

domdfcoding / enum_tools / 15072251616

16 May 2025 03:43PM UTC coverage: 87.452% (+0.03%) from 87.427%
15072251616

push

github

web-flow
Updated files with 'repo_helper'. (#108)

Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>

453 of 518 relevant lines covered (87.45%)

0.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/enum_tools/__init__.py
1
#!/usr/bin/env python3
2
#
3
#  __init__.py
4
"""
5
Tools to expand Python's enum module.
6
"""
7
#
8
#  Copyright (c) 2020 Dominic Davis-Foster <dominic@davis-foster.co.uk>
9
#
10
#  This program is free software; you can redistribute it and/or modify
11
#  it under the terms of the GNU Lesser General Public License as published by
12
#  the Free Software Foundation; either version 3 of the License, or
13
#  (at your option) any later version.
14
#
15
#  This program is distributed in the hope that it will be useful,
16
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
17
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
#  GNU Lesser General Public License for more details.
19
#
20
#  You should have received a copy of the GNU Lesser General Public License
21
#  along with this program; if not, write to the Free Software
22
#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
23
#  MA 02110-1301, USA.
24
#
25

26
# stdlib
27
from enum import Enum, Flag, IntFlag
1✔
28

29
# this package
30
from enum_tools.custom_enums import AutoNumberEnum, DuplicateFreeEnum, IntEnum, OrderedEnum, StrEnum
1✔
31
from enum_tools.documentation import DocumentedEnum, document_enum, document_member
1✔
32

33
__author__: str = "Dominic Davis-Foster"
1✔
34
__copyright__: str = "2020 Dominic Davis-Foster"
1✔
35
__license__: str = "GNU Lesser General Public License v3 or later (LGPLv3+)"
1✔
36
__version__: str = "0.13.0"
1✔
37
__email__: str = "dominic@davis-foster.co.uk"
1✔
38

39
__all__ = [
1✔
40
                "Enum",
41
                "IntEnum",
42
                "StrEnum",
43
                "AutoNumberEnum",
44
                "OrderedEnum",
45
                "DuplicateFreeEnum",
46
                "Flag",
47
                "IntFlag",
48
                "DocumentedEnum",
49
                "document_enum",
50
                "document_member",
51
                ]
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc