File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 27
27
run : |
28
28
pip install interrogate
29
29
interrogate -v --ignore-init-method --ignore-module --ignore-nested-functions --ignore-regex "__repr__" --fail-under 80 mmdeploy
30
-
30
+ - name : Check pylint score
31
+ run : |
32
+ pip install pylint
33
+ pylint mmdeploy
31
34
build_cpu :
32
35
runs-on : ubuntu-18.04
33
36
strategy :
Original file line number Diff line number Diff line change 6
6
extension-pkg-whitelist =
7
7
8
8
# Specify a score threshold to be exceeded before program exits with error.
9
- fail-under =10.0
9
+ fail-under =8.5
10
10
11
11
# Add files or directories to the blacklist. They should be base names, not
12
12
# paths.
@@ -165,7 +165,11 @@ disable=print-statement,
165
165
arguments-differ,
166
166
cyclic-import,
167
167
bad-super-call,
168
- too-many-statements
168
+ too-many-statements,
169
+ unused-argument,
170
+ import-outside-toplevel,
171
+ import-error,
172
+ super-with-arguments
169
173
170
174
# Enable the message, report, category or checker with the given id(s). You can
171
175
# either give multiple identifier separated by comma (,) or put this option
@@ -193,7 +197,7 @@ evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / stateme
193
197
output-format =text
194
198
195
199
# Tells whether to display a full report or only the messages.
196
- reports =no
200
+ reports =yes
197
201
198
202
# Activate the evaluation score.
199
203
score =yes
You can’t perform that action at this time.
0 commit comments