aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2023-02-28Fix Infraction checkGravatar mbaruh-1/+1
Co-authored-by: decorator-factory <[email protected]>
2023-02-28Use literals as defaults where possibleGravatar mbaruh-5/+5
Co-authored-by: wookie184 <[email protected]>
2023-02-28Properly parameterize type hints in filter contextGravatar mbaruh-3/+3
Co-authored-by: decorator-factory <[email protected]>
2023-02-28`__or__` -> `union` + `Self` type-hint in action settingsGravatar mbaruh-24/+18
Keeps the type hint accurate in the subclasses, and avoids having type guards for each implementation. Co-authored-by: decorator-factory <[email protected]> Co-authored-by: Ionite <[email protected]>
2023-02-27Explicitly handle embed being too longGravatar mbaruh-4/+6
Co-authored-by: Ionite <[email protected]>
2023-02-27Use public typing API for `starting_value`Gravatar mbaruh-7/+8
Co-authored-by: Ionite <[email protected]>
2023-02-27Simplify `Settings.copy`Gravatar mbaruh-3/+2
Co-authored-by: Ionite <[email protected]>