requiresthat 2025.6.18.2__tar.gz → 2025.6.19.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: requiresthat
3
- Version: 2025.6.18.2
3
+ Version: 2025.6.19.0
4
4
  Summary: Support for requirements-assisted development
5
5
  Author-email: Ann T Ropea <bedhanger@gmx.de>
6
6
  License-Expression: MIT
@@ -35,11 +35,16 @@ Example usage
35
35
  X = C(data='spam')
36
36
  X.method()
37
37
 
38
+ See the `tests <https://gitlab.com/bedhanger/mwe/-/blob/master/python/requiresthat/tests/test_requiresthat.py>`_
39
+ for more.
40
+
38
41
  The ``that`` can be almost any valid Python statement which can be evaluated and whose veracity can
39
42
  be asserted, and the result thereof will decide whether or not the method fires/will be considered a
40
43
  success.
41
44
 
42
- The parameter ``when`` decides if the condition is a-priori, post-mortem, or before-and-after.
45
+ The parameter ``when`` decides if the condition is
46
+ `a-priori, post-mortem, or before-and-after
47
+ <https://gitlab.com/bedhanger/mwe/-/blob/master/python/requiresthat/src/_when.py>`_.
43
48
  The default is a-priori, meaning a precondition. Note that before-and-after does *not* mean during;
44
49
  you cannot mandate an invariant this way!
45
50
 
@@ -26,11 +26,16 @@ Example usage
26
26
  X = C(data='spam')
27
27
  X.method()
28
28
 
29
+ See the `tests <https://gitlab.com/bedhanger/mwe/-/blob/master/python/requiresthat/tests/test_requiresthat.py>`_
30
+ for more.
31
+
29
32
  The ``that`` can be almost any valid Python statement which can be evaluated and whose veracity can
30
33
  be asserted, and the result thereof will decide whether or not the method fires/will be considered a
31
34
  success.
32
35
 
33
- The parameter ``when`` decides if the condition is a-priori, post-mortem, or before-and-after.
36
+ The parameter ``when`` decides if the condition is
37
+ `a-priori, post-mortem, or before-and-after
38
+ <https://gitlab.com/bedhanger/mwe/-/blob/master/python/requiresthat/src/_when.py>`_.
34
39
  The default is a-priori, meaning a precondition. Note that before-and-after does *not* mean during;
35
40
  you cannot mandate an invariant this way!
36
41
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "requiresthat"
7
- version = "2025.6.18.2"
7
+ version = "2025.6.19.0"
8
8
  authors = [
9
9
  {name = "Ann T Ropea", email = "bedhanger@gmx.de"},
10
10
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: requiresthat
3
- Version: 2025.6.18.2
3
+ Version: 2025.6.19.0
4
4
  Summary: Support for requirements-assisted development
5
5
  Author-email: Ann T Ropea <bedhanger@gmx.de>
6
6
  License-Expression: MIT
@@ -35,11 +35,16 @@ Example usage
35
35
  X = C(data='spam')
36
36
  X.method()
37
37
 
38
+ See the `tests <https://gitlab.com/bedhanger/mwe/-/blob/master/python/requiresthat/tests/test_requiresthat.py>`_
39
+ for more.
40
+
38
41
  The ``that`` can be almost any valid Python statement which can be evaluated and whose veracity can
39
42
  be asserted, and the result thereof will decide whether or not the method fires/will be considered a
40
43
  success.
41
44
 
42
- The parameter ``when`` decides if the condition is a-priori, post-mortem, or before-and-after.
45
+ The parameter ``when`` decides if the condition is
46
+ `a-priori, post-mortem, or before-and-after
47
+ <https://gitlab.com/bedhanger/mwe/-/blob/master/python/requiresthat/src/_when.py>`_.
43
48
  The default is a-priori, meaning a precondition. Note that before-and-after does *not* mean during;
44
49
  you cannot mandate an invariant this way!
45
50