File tree 3 files changed +20
-9
lines changed
3 files changed +20
-9
lines changed Original file line number Diff line number Diff line change 64
64
- name : Run 'interrogate' Documentation Coverage Check
65
65
continue-on-error : true
66
66
run : |
67
- interrogate -c pyproject.toml --fail-under=${{ inputs.fail_under }} && printf "::error title=%s::%s\n" "interrogate" "Insufficient documentation quality (goal: ${{ inputs.fail_under }})"
67
+ set +e
68
+
69
+ interrogate -c pyproject.toml --fail-under=${{ inputs.fail_under }} ${{ inputs.directory }}
70
+ if [[ $? -ne 0 ]]; then
71
+ printf "::error title=%s::%s\n" "interrogate" "Insufficient documentation quality (goal: ${{ inputs.fail_under }})"
72
+ fi
68
73
69
74
- name : Run 'docstr_coverage' Documentation Coverage Check
70
75
continue-on-error : true
71
76
run : |
72
- docstr-coverage -v 2 --fail-under=${{ inputs.fail_under }} ${{ inputs.directory }} && printf "%s\n" "::error title=docstr-coverage::Insufficient documentation quality (goal: ${{ inputs.fail_under }})"
77
+ set +e
78
+
79
+ docstr-coverage --fail-under=${{ inputs.fail_under }} ${{ inputs.directory }}
80
+ if [[ $? -ne 0 ]]; then
81
+ printf "%s\n" "::error title=docstr-coverage::Insufficient documentation quality (goal: ${{ inputs.fail_under }})"
82
+ fi
83
+
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ jobs:
193
193
- UnitTestingParams
194
194
with :
195
195
python_version : ${{ needs.UnitTestingParams.outputs.python_version }}
196
- directory : ${{ inputs.package_namespace }}/${{ inputs.package_name }}
196
+ directory : ${{ needs.ConfigParams.outputs.package_directory }}
197
197
# fail_below: 70
198
198
199
199
Package :
Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ class Base:
53
53
_value : int #: An internal value.
54
54
55
55
def __init__ (self ) -> None :
56
- """
57
- Initializes the base-class.
58
- """
56
+ # """
57
+ # Initializes the base-class.
58
+ # """
59
59
self ._value = 0
60
60
61
61
@readonly
@@ -75,9 +75,9 @@ class Application(Base):
75
75
"""
76
76
77
77
def __init__ (self ) -> None :
78
- """
79
- Initializes the dummy application.
80
- """
78
+ # """
79
+ # Initializes the dummy application.
80
+ # """
81
81
super ().__init__ ()
82
82
83
83
platform = Platform ()
You can’t perform that action at this time.
0 commit comments