You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->
## This PR
<!-- add the description of the PR here -->
- added a dedicated Python CI workflow
- added ruff for linting (only dependency sorting is enabled for now)
and formatting
- added a couple of missing type hints, enabling mypy comes in a
separate PR
Signed-off-by: gruebel <[email protected]>
// spec:4.3.6:The after stage MUST run after flag resolution occurs. It accepts a hook context (required), flag evaluation details (required) and hook hints (optional). It has no return value.:end
@@ -13,7 +13,10 @@ def test_simple_singleline():
13
13
}
14
14
output=find_covered_specs(cfg, text)
15
15
assert'4.3.6'inoutput
16
-
assertoutput['4.3.6']['text'] =="The after stage MUST run after flag resolution occurs. It accepts a hook context (required), flag evaluation details (required) and hook hints (optional). It has no return value."
16
+
assert (
17
+
output['4.3.6']['text']
18
+
=='The after stage MUST run after flag resolution occurs. It accepts a hook context (required), flag evaluation details (required) and hook hints (optional). It has no return value.'
19
+
)
17
20
18
21
19
22
deftest_multiline_comment():
@@ -31,20 +34,23 @@ def test_multiline_comment():
31
34
}
32
35
output=find_covered_specs(cfg, text)
33
36
assert'4.3.7'inoutput
34
-
assertoutput['4.3.7']['text'] =="""The error hook MUST run when errors are encountered in the before stage, the after stage or during flag resolution. It accepts hook context (required), exception representing what went wrong (required), and hook hints (optional). It has no return value."""
37
+
assert (
38
+
output['4.3.7']['text']
39
+
=="""The error hook MUST run when errors are encountered in the before stage, the after stage or during flag resolution. It accepts hook context (required), exception representing what went wrong (required), and hook hints (optional). It has no return value."""
0 commit comments