Skip to content
This repository was archived by the owner on Feb 12, 2025. It is now read-only.

Commit 5f06cf8

Browse files
committed
Implement POC of spaced repetition in the bonus menu; need to debug persistence
1 parent b35f444 commit 5f06cf8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+7041
-10
lines changed

game/python-packages/attr/__init__.py

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# SPDX-License-Identifier: MIT
2+
3+
import sys
4+
import warnings
5+
6+
from functools import partial
7+
8+
from . import converters, exceptions, filters, setters, validators
9+
from ._cmp import cmp_using
10+
from ._config import get_run_validators, set_run_validators
11+
from ._funcs import asdict, assoc, astuple, evolve, has, resolve_types
12+
from ._make import (
13+
NOTHING,
14+
Attribute,
15+
Factory,
16+
attrib,
17+
attrs,
18+
fields,
19+
fields_dict,
20+
make_class,
21+
validate,
22+
)
23+
from ._next_gen import define, field, frozen, mutable
24+
from ._version_info import VersionInfo
25+
26+
27+
if sys.version_info < (3, 7): # pragma: no cover
28+
warnings.warn(
29+
"Running attrs on Python 3.6 is deprecated & we intend to drop "
30+
"support soon. If that's a problem for you, please let us know why & "
31+
"we MAY re-evaluate: <https://github.com/python-attrs/attrs/pull/993>",
32+
DeprecationWarning,
33+
)
34+
35+
__version__ = "22.2.0"
36+
__version_info__ = VersionInfo._from_version_string(__version__)
37+
38+
__title__ = "attrs"
39+
__description__ = "Classes Without Boilerplate"
40+
__url__ = "https://www.attrs.org/"
41+
__uri__ = __url__
42+
__doc__ = __description__ + " <" + __uri__ + ">"
43+
44+
__author__ = "Hynek Schlawack"
45+
__email__ = "[email protected]"
46+
47+
__license__ = "MIT"
48+
__copyright__ = "Copyright (c) 2015 Hynek Schlawack"
49+
50+
51+
s = attributes = attrs
52+
ib = attr = attrib
53+
dataclass = partial(attrs, auto_attribs=True) # happy Easter ;)
54+
55+
56+
class AttrsInstance:
57+
pass
58+
59+
60+
__all__ = [
61+
"Attribute",
62+
"AttrsInstance",
63+
"Factory",
64+
"NOTHING",
65+
"asdict",
66+
"assoc",
67+
"astuple",
68+
"attr",
69+
"attrib",
70+
"attributes",
71+
"attrs",
72+
"cmp_using",
73+
"converters",
74+
"define",
75+
"evolve",
76+
"exceptions",
77+
"field",
78+
"fields",
79+
"fields_dict",
80+
"filters",
81+
"frozen",
82+
"get_run_validators",
83+
"has",
84+
"ib",
85+
"make_class",
86+
"mutable",
87+
"resolve_types",
88+
"s",
89+
"set_run_validators",
90+
"setters",
91+
"validate",
92+
"validators",
93+
]

0 commit comments

Comments
 (0)