forked from master-of-zen/Av1an
-
Notifications
You must be signed in to change notification settings - Fork 0
/
av1an.test
287 lines (251 loc) · 10.1 KB
/
av1an.test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
Messages
========
Av1an/__init__.py
Line: 3
pyflakes: F401 / '.arg_parse.Args' imported but unused (col 1)
Av1an/arg_parse.py
Line: 43
pylint: consider-using-dict-comprehension / Consider using a dictionary comprehension (col 15)
Line: 147
pylint: trailing-newlines / Trailing newlines
Av1an/bar.py
Line: 1
pylint: blacklisted-name / Black listed name "bar"
Line: 3
pylint: unused-import / Unused import re
Line: 4
pylint: unused-import / Unused import subprocess
Line: 8
pylint: unused-import / Unused PIPE imported from subprocess
Line: 11
pylint: unused-import / Unused Command imported from commandtypes
Line: 12
pylint: unused-import / Unused terminate imported from utils
Line: 99
pylint: too-many-arguments / Too many arguments (7/5)
Av1an/commandtypes.py
Line: 5
pylint: unsubscriptable-object / Value 'Union' is unsubscriptable (col 15)
Line: 11
pylint: inherit-non-class / Inheriting 'NamedTuple', which is not a class.
Av1an/concat.py
Line: 48
pylint: subprocess-run-check / Using subprocess.run without explicitly set `check` is not recommended. (col 13)
Line: 60
pylint: pointless-string-statement / String statement has no effect (col 4)
Line: 81
pylint: subprocess-run-check / Using subprocess.run without explicitly set `check` is not recommended. (col 17)
Line: 87
pylint: subprocess-run-check / Using subprocess.run without explicitly set `check` is not recommended. (col 17)
Line: 114
pylint: import-outside-toplevel / Import outside toplevel (resource) (col 8)
Line: 174
pylint: no-else-return / Unnecessary "else" after "return" (col 4)
Av1an/ffmpeg.py
Line: 4
pylint: unused-import / Unused import shlex
Line: 19
pylint: subprocess-run-check / Using subprocess.run without explicitly set `check` is not recommended. (col 8)
Line: 62
pylint: subprocess-run-check / Using subprocess.run without explicitly set `check` is not recommended. (col 24)
Line: 68
pylint: subprocess-run-check / Using subprocess.run without explicitly set `check` is not recommended. (col 8)
Av1an/resume.py
Line: 6
pep8: N816 / variable 'doneFileLock' in global scope should not be mixedCase (col 2)
Av1an/utils.py
Line: 8
pylint: unused-import / Unused numpy imported as np
Line: 11
pylint: unused-import / Unused Command imported from Av1an.commandtypes
Line: 25
pylint: unidiomatic-typecheck / Using type() instead of isinstance() for a typecheck. (col 11)
Av1an/vapoursynth.py
Line: 19
pylint: subprocess-run-check / Using subprocess.run without explicitly set `check` is not recommended. (col 8)
Chunks/chunk.py
Line: 13
pylint: too-many-arguments / Too many arguments (7/5) (col 4)
Line: 37
pylint: unsubscriptable-object / Value 'Optional' is unsubscriptable (col 41)
Chunks/chunk_queue.py
Line: 3
pylint: unused-import / Unused import os
Line: 87
pylint: too-many-locals / Too many local variables (16/15)
Encoders/aom.py
Line: 53
pylint: inconsistent-return-statements / Either all return statements in a function should return an expression, or none of them should. (col 4)
Encoders/encoder.py
Line: 17
pylint: too-many-arguments / Too many arguments (7/5) (col 4)
Line: 53
pylint: unnecessary-pass / Unnecessary pass statement (col 8)
Line: 65
pylint: unnecessary-pass / Unnecessary pass statement (col 8)
Line: 74
pylint: unnecessary-pass / Unnecessary pass statement (col 8)
Line: 82
pylint: unnecessary-pass / Unnecessary pass statement (col 8)
Line: 84
pylint: too-many-arguments / Too many arguments (7/5) (col 4)
Line: 111
pylint: unused-argument / Unused argument 'project' (col 23)
Line: 136
pylint: unnecessary-pass / Unnecessary pass statement (col 8)
Line: 145
pylint: unnecessary-pass / Unnecessary pass statement (col 8)
Encoders/svtvp9.py
Line: 69
pylint: unnecessary-pass / Unnecessary pass statement (col 8)
Encoders/vpx.py
Line: 58
pylint: inconsistent-return-statements / Either all return statements in a function should return an expression, or none of them should. (col 4)
Encoders/vvc.py
Line: 68
pylint: too-many-arguments / Too many arguments (7/5) (col 4)
Line: 80
pylint: unused-variable / Unused variable 'filter_cmd' (col 8)
GUI/av1an_ui.py
Line: 14
pylint: useless-object-inheritance / Class 'Ui_Av1an_main_windows' inherits from object, can be safely removed from bases in python3
Line: 15
pylint: too-many-statements / Too many statements (167/60) (col 4)
Managers/Manager.py
Line: 63
pylint: trailing-newlines / Trailing newlines
Projects/Project.py
Line: 6
pylint: useless-object-inheritance / Class 'Project' inherits from object, can be safely removed from bases in python3
Line: 89
pylint: no-else-return / Unnecessary "else" after "return" (col 8)
Line: 140
pylint: trailing-newlines / Trailing newlines
Projects/__init__.py
Line: 1
pyflakes: F401 / '.Project.Project' imported but unused (col 1)
Scenedetection/__init__.py
Line: 1
pyflakes: F401 / '.pyscene.pyscene' imported but unused (col 1)
Line: 2
pyflakes: F401 / '.aom_kf.aom_keyframes' imported but unused (col 1)
Scenedetection/aom_kf.py
Line: 10
pylint: unused-import / Unused import cv2
Line: 15
pylint: unused-import / Unused frame_probe imported from Av1an.utils
Line: 50
pylint: no-else-return / Unnecessary "else" after "return" (col 4)
Line: 57
pylint: too-many-locals / Too many local variables (28/15)
Line: 88
pep8: E712 / comparison to False should be 'if cond is False:' or 'if not cond:' (col 16)
pylint: too-many-boolean-expressions / Too many boolean expressions in if statement (11/5) (col 7)
pep8: E501 / line too long (708 > 159 characters) (col 160)
pylint: singleton-comparison / Comparison to False should be 'not expr' (col 9)
Line: 108
pylint: too-many-boolean-expressions / Too many boolean expressions in if statement (6/5) (col 15)
Line: 182
pylint: too-many-arguments / Too many arguments (6/5)
pylint: too-many-locals / Too many local variables (19/15)
Startup/file_validation.py
Line: 9
pylint: consider-using-sys-exit / Consider using sys.exit() (col 8)
Line: 18
pylint: consider-using-sys-exit / Consider using sys.exit() (col 8)
Line: 23
pylint: trailing-newlines / Trailing newlines
Startup/setup.py
Line: 17
pylint: unused-import / Unused is_vapoursynth imported from Av1an.vapoursynth
Line: 50
pylint: import-outside-toplevel / Import outside toplevel (vapoursynth) (col 12)
Line: 59
pylint: bare-except / No exception type(s) specified (col 8)
Line: 82
pylint: import-outside-toplevel / Import outside toplevel (vapoursynth) (col 12)
Line: 215
pylint: trailing-newlines / Trailing newlines
Startup/validate_commands.py
Line: 11
pylint: subprocess-run-check / Using subprocess.run without explicitly set `check` is not recommended. (col 8)
Line: 33
pylint: unsubscriptable-object / Value 'Union' is unsubscriptable (col 57)
TargetQuality/__init__.py
Line: 1
pyflakes: F401 / '.per_shot.*' imported but unused (col 1)
TargetQuality/per_frame.py
Line: 3
pylint: unused-import / Unused process_pipe imported from Av1an.bar
Line: 5
pylint: unused-import / Unused Command imported from Av1an.commandtypes
Line: 6
pylint: unused-import / Unused log imported from Av1an.logger
Line: 7
pylint: unused-import / Unused call_vmaf imported from VMAF
Line: 8
pylint: unused-import / Unused read_json imported from VMAF
Line: 24
pylint: unused-argument / Unused argument 'frame_list' (col 18)
Line: 28
pylint: unused-argument / Unused argument 'frame_list' (col 20)
pylint: unused-argument / Unused argument 'chunk' (col 32)
pylint: unused-argument / Unused argument 'args' (col 39)
Line: 32
pylint: too-many-arguments / Too many arguments (6/5)
Line: 53
pylint: consider-using-sys-exit / Consider using sys.exit() (col 8)
Line: 64
pylint: unused-variable / Unused variable 'frame_list' (col 4)
TargetQuality/per_shot.py
Line: 4
pylint: unused-import / Unused log imported from math as ln
Line: 6
pylint: unused-import / Unused import subprocess
Line: 7
pylint: unused-import / Unused STDOUT imported from subprocess
Line: 19
pylint: unused-import / Unused process_pipe imported from Av1an.bar
Line: 21
pylint: unused-import / Unused CommandPair imported from Av1an.commandtypes
Line: 75
pylint: too-many-locals / Too many local variables (20/15)
pylint: too-many-statements / Too many statements (67/60)
mccabe: MC0001 / per_shot_target_quality is too complex (16)
Line: 150
pylint: no-else-return / Unnecessary "elif" after "return" (col 4)
TargetQuality/target_quality.py
Line: 9
pylint: unused-import / Unused read_json imported from VMAF
Line: 14
pylint: inconsistent-return-statements / Either all return statements in a function should return an expression, or none of them should.
pylint: unused-argument / Unused argument 'rate' (col 23)
Line: 24
pylint: no-else-return / Unnecessary "elif" after "return" (col 4)
VMAF/__init__.py
Line: 1
pyflakes: F401 / '.vmaf.*' imported but unused (col 1)
VMAF/vmaf.py
Line: 11
pylint: unused-import / Unused numpy imported as np
Line: 36
pylint: too-many-arguments / Too many arguments (8/5)
pylint: too-many-locals / Too many local variables (20/15)
Line: 50
pylint: redefined-builtin / Redefining built-in 'filter' (col 4)
Line: 106
pylint: no-else-return / Unnecessary "else" after "return" (col 4)
av1an.py
Line: 10
pyflakes: F405 / 'Args' may be undefined, or defined from star imports: Av1an (col 18)
Check Information
=================
Started: 2020-12-09 20:15:47.210090
Finished: 2020-12-09 20:15:58.152470
Time Taken: 10.94 seconds
Formatter: grouped
Profiles: default, no_doc_warnings, no_test_warnings, strictness_medium, strictness_high, strictness_veryhigh, no_member_warnings
Strictness: None
Libraries Used:
Tools Run: dodgy, mccabe, pep8, profile-validator, pyflakes, pylint
Messages Found: 108