requiresthat 2025.6.15.7__py3-none-any.whl → 2025.6.17.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
requiresthat/_when.py CHANGED
@@ -1,11 +1,11 @@
1
1
  """When should a condition hold"""
2
2
 
3
- from enum import Enum, auto
3
+ from enum import Flag, auto
4
4
 
5
- class When(Enum):
5
+ class When(Flag):
6
6
  APRIORI = auto()
7
7
  POSTMORTEM = auto()
8
- BEFOREANDAFTER = auto()
8
+ BEFOREANDAFTER = APRIORI | POSTMORTEM
9
9
  # There is no DURING or INBETWEEN!
10
10
 
11
11
  APRIORI = When.APRIORI
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: requiresthat
3
- Version: 2025.6.15.7
4
- Summary: Decorate an instance method with pre- and/or postconditions that must be fulfilled
3
+ Version: 2025.6.17.0
4
+ Summary: Support for requirements-assisted development
5
5
  Author-email: Ann T Ropea <bedhanger@gmx.de>
6
6
  License-Expression: MIT
7
7
  Project-URL: Homepage, https://gitlab.com/bedhanger/mwe/-/tree/master/python/requiresthat
@@ -0,0 +1,8 @@
1
+ requiresthat/__init__.py,sha256=-pvz61UhmWhwzjbKTHQ83_YqZx1MXQEvqSgb7Q0d9jE,99
2
+ requiresthat/_exceptions.py,sha256=bgrTgn3JCJv_KbYIpaghZ8v-SP5fiOpzeFC5zB8uq8M,504
3
+ requiresthat/_requires.py,sha256=F28tp_3L_E06ERsSGkPx-YrbBolmGO1NymJZINtocts,1562
4
+ requiresthat/_when.py,sha256=VoGuvoG9WDEMIPeKnxAsjMTaCMhgSszf4xxa1vLn5aU,299
5
+ requiresthat-2025.6.17.0.dist-info/METADATA,sha256=w3FELaW74-gCOcfxFo9DaiTkLGGJ1LlA17Ka_2itPYM,1575
6
+ requiresthat-2025.6.17.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
+ requiresthat-2025.6.17.0.dist-info/top_level.txt,sha256=mUgMTpAG75GYtt5_rVajUyWp-O_1VrrkqRo_hY9L9So,13
8
+ requiresthat-2025.6.17.0.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- requiresthat/__init__.py,sha256=-pvz61UhmWhwzjbKTHQ83_YqZx1MXQEvqSgb7Q0d9jE,99
2
- requiresthat/_exceptions.py,sha256=bgrTgn3JCJv_KbYIpaghZ8v-SP5fiOpzeFC5zB8uq8M,504
3
- requiresthat/_requires.py,sha256=F28tp_3L_E06ERsSGkPx-YrbBolmGO1NymJZINtocts,1562
4
- requiresthat/_when.py,sha256=yQWG7qGzv0iEsLA7y0vMkbpHi4Jsby8huOzea2BG_c8,285
5
- requiresthat-2025.6.15.7.dist-info/METADATA,sha256=cskHnYhKFyLUkSYbQd_LajczpbqCb-FQFi1o34JvccM,1612
6
- requiresthat-2025.6.15.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
7
- requiresthat-2025.6.15.7.dist-info/top_level.txt,sha256=mUgMTpAG75GYtt5_rVajUyWp-O_1VrrkqRo_hY9L9So,13
8
- requiresthat-2025.6.15.7.dist-info/RECORD,,