benchlab-pytools 3.0.0__py3-none-any.whl

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.
Files changed (184) hide show
  1. benchlab/__init__.py +14 -0
  2. benchlab/__main__.py +21 -0
  3. benchlab/config/README.md +325 -0
  4. benchlab/config/__init__.py +9 -0
  5. benchlab/config/config_client.py +631 -0
  6. benchlab/config/config_manager.py +495 -0
  7. benchlab/config/config_tool.py +358 -0
  8. benchlab/config/diff.py +163 -0
  9. benchlab/config/examples/complete_config.json +56 -0
  10. benchlab/config/examples/rgb_lighting.json +24 -0
  11. benchlab/config/examples/simple_fan.json +32 -0
  12. benchlab/config/schema.py +138 -0
  13. benchlab/core/README.md +154 -0
  14. benchlab/core/__init__.py +78 -0
  15. benchlab/core/config.py +145 -0
  16. benchlab/core/datasource.py +1209 -0
  17. benchlab/core/datasource_manager.py +418 -0
  18. benchlab/core/device_registry.py +206 -0
  19. benchlab/core/discovery.py +92 -0
  20. benchlab/core/infrastructure.py +309 -0
  21. benchlab/core/process_manager.py +356 -0
  22. benchlab/core/retry.py +85 -0
  23. benchlab/core/shared_serial.py +235 -0
  24. benchlab/core/statistics.py +224 -0
  25. benchlab/csv_log/README.md +206 -0
  26. benchlab/csv_log/__init__.py +5 -0
  27. benchlab/csv_log/csv_logger_enhanced.py +416 -0
  28. benchlab/csv_log/message_batcher.py +361 -0
  29. benchlab/csv_log/requirements.txt +3 -0
  30. benchlab/csv_log/smart_retry.py +466 -0
  31. benchlab/graph/README.md +117 -0
  32. benchlab/graph/__init__.py +5 -0
  33. benchlab/graph/app.py +353 -0
  34. benchlab/graph/requirements.txt +2 -0
  35. benchlab/graph/runner.py +42 -0
  36. benchlab/graph/ui.py +288 -0
  37. benchlab/hwinfo/README.md +135 -0
  38. benchlab/hwinfo/__init__.py +5 -0
  39. benchlab/hwinfo/hwinfo_export.py +386 -0
  40. benchlab/hwinfo/requirements.txt +1 -0
  41. benchlab/launcher.py +387 -0
  42. benchlab/link/.env.EXAMPLE +10 -0
  43. benchlab/link/README.md +172 -0
  44. benchlab/link/__init__.py +1 -0
  45. benchlab/link/link_main.py +479 -0
  46. benchlab/main.py +462 -0
  47. benchlab/menu.py +729 -0
  48. benchlab/menu_classic.py +410 -0
  49. benchlab/mqtt/README.md +201 -0
  50. benchlab/mqtt/__init__.py +5 -0
  51. benchlab/mqtt/mqtt.config_template +2 -0
  52. benchlab/mqtt/mqtt_publisher.py +540 -0
  53. benchlab/mqtt/requirements.txt +3 -0
  54. benchlab/prefs.py +67 -0
  55. benchlab/restapi/.env.example +17 -0
  56. benchlab/restapi/__init__.py +5 -0
  57. benchlab/restapi/favicon.ico +0 -0
  58. benchlab/restapi/readme.md +202 -0
  59. benchlab/restapi/requirements.txt +5 -0
  60. benchlab/restapi/telemetry_api.py +808 -0
  61. benchlab/sources.py +515 -0
  62. benchlab/tools.py +147 -0
  63. benchlab/tui/README.md +266 -0
  64. benchlab/tui/__init__.py +5 -0
  65. benchlab/tui/config.py +477 -0
  66. benchlab/tui/requirements.txt +2 -0
  67. benchlab/tui/tui_core.py +1298 -0
  68. benchlab/tui/tui_main.py +418 -0
  69. benchlab/vu/README.md +64 -0
  70. benchlab/vu/VU-Server/NOTICE.md +13 -0
  71. benchlab/vu/VU-Server/README.md +80 -0
  72. benchlab/vu/VU-Server/Running_from_source_on_linux.md +97 -0
  73. benchlab/vu/VU-Server/__init__.py +0 -0
  74. benchlab/vu/VU-Server/assets/vu1_hello_world.png +0 -0
  75. benchlab/vu/VU-Server/community_applications.md +13 -0
  76. benchlab/vu/VU-Server/config.yaml +9 -0
  77. benchlab/vu/VU-Server/database.py +256 -0
  78. benchlab/vu/VU-Server/dial_driver.py +534 -0
  79. benchlab/vu/VU-Server/dials/Comms_Hub_Gauge.py +78 -0
  80. benchlab/vu/VU-Server/dials/Comms_Hub_Server.py +100 -0
  81. benchlab/vu/VU-Server/dials/__init__.py +0 -0
  82. benchlab/vu/VU-Server/dials/base_logger.py +100 -0
  83. benchlab/vu/VU-Server/installer/inc/icon.ico +0 -0
  84. benchlab/vu/VU-Server/installer/install.nsi +148 -0
  85. benchlab/vu/VU-Server/make_version.py +40 -0
  86. benchlab/vu/VU-Server/pylintrc +628 -0
  87. benchlab/vu/VU-Server/requirements.txt +9 -0
  88. benchlab/vu/VU-Server/serial_driver.py +244 -0
  89. benchlab/vu/VU-Server/server.py +670 -0
  90. benchlab/vu/VU-Server/server_config.py +255 -0
  91. benchlab/vu/VU-Server/server_dial_handler.py +334 -0
  92. benchlab/vu/VU-Server/vu_notifications.py +24 -0
  93. benchlab/vu/VU-Server/www/android-chrome-192x192.png +0 -0
  94. benchlab/vu/VU-Server/www/android-chrome-512x512.png +0 -0
  95. benchlab/vu/VU-Server/www/apple-touch-icon.png +0 -0
  96. benchlab/vu/VU-Server/www/assets/css/demo.css +291 -0
  97. benchlab/vu/VU-Server/www/assets/css/demo.min.css +9 -0
  98. benchlab/vu/VU-Server/www/assets/css/demo.rtl.css +276 -0
  99. benchlab/vu/VU-Server/www/assets/css/demo.rtl.min.css +9 -0
  100. benchlab/vu/VU-Server/www/assets/css/tabler-flags.css +1084 -0
  101. benchlab/vu/VU-Server/www/assets/css/tabler-flags.min.css +9 -0
  102. benchlab/vu/VU-Server/www/assets/css/tabler-flags.rtl.css +1084 -0
  103. benchlab/vu/VU-Server/www/assets/css/tabler-flags.rtl.min.css +9 -0
  104. benchlab/vu/VU-Server/www/assets/css/tabler-payments.css +528 -0
  105. benchlab/vu/VU-Server/www/assets/css/tabler-payments.min.css +9 -0
  106. benchlab/vu/VU-Server/www/assets/css/tabler-payments.rtl.css +528 -0
  107. benchlab/vu/VU-Server/www/assets/css/tabler-payments.rtl.min.css +9 -0
  108. benchlab/vu/VU-Server/www/assets/css/tabler-social.css +10 -0
  109. benchlab/vu/VU-Server/www/assets/css/tabler-social.min.css +8 -0
  110. benchlab/vu/VU-Server/www/assets/css/tabler-social.rtl.css +10 -0
  111. benchlab/vu/VU-Server/www/assets/css/tabler-social.rtl.min.css +8 -0
  112. benchlab/vu/VU-Server/www/assets/css/tabler-vendors.css +1504 -0
  113. benchlab/vu/VU-Server/www/assets/css/tabler-vendors.min.css +9 -0
  114. benchlab/vu/VU-Server/www/assets/css/tabler-vendors.rtl.css +1504 -0
  115. benchlab/vu/VU-Server/www/assets/css/tabler-vendors.rtl.min.css +9 -0
  116. benchlab/vu/VU-Server/www/assets/css/tabler.css +25813 -0
  117. benchlab/vu/VU-Server/www/assets/css/tabler.min.css +13 -0
  118. benchlab/vu/VU-Server/www/assets/css/tabler.rtl.css +25777 -0
  119. benchlab/vu/VU-Server/www/assets/css/tabler.rtl.min.css +13 -0
  120. benchlab/vu/VU-Server/www/assets/css/theme.min.css +261 -0
  121. benchlab/vu/VU-Server/www/assets/img/header.png +0 -0
  122. benchlab/vu/VU-Server/www/assets/img/logo.png +0 -0
  123. benchlab/vu/VU-Server/www/assets/js/dark-theme.js +35 -0
  124. benchlab/vu/VU-Server/www/assets/js/dark-theme.min.js +9 -0
  125. benchlab/vu/VU-Server/www/assets/js/demo.js +132 -0
  126. benchlab/vu/VU-Server/www/assets/js/demo.min.js +9 -0
  127. benchlab/vu/VU-Server/www/assets/js/jquery.min.js +2 -0
  128. benchlab/vu/VU-Server/www/assets/js/tabler.esm.js +7482 -0
  129. benchlab/vu/VU-Server/www/assets/js/tabler.esm.min.js +15 -0
  130. benchlab/vu/VU-Server/www/assets/js/tabler.js +7543 -0
  131. benchlab/vu/VU-Server/www/assets/js/tabler.min.js +15 -0
  132. benchlab/vu/VU-Server/www/assets/js/vu1_api.js +68 -0
  133. benchlab/vu/VU-Server/www/assets/js/vu1_gui_api_key_settings.js +167 -0
  134. benchlab/vu/VU-Server/www/assets/js/vu1_gui_api_keys.js +138 -0
  135. benchlab/vu/VU-Server/www/assets/js/vu1_gui_dial.js +179 -0
  136. benchlab/vu/VU-Server/www/assets/js/vu1_gui_home.js +60 -0
  137. benchlab/vu/VU-Server/www/assets/js/vu1_gui_root.js +125 -0
  138. benchlab/vu/VU-Server/www/favicon-16x16.png +0 -0
  139. benchlab/vu/VU-Server/www/favicon-32x32.png +0 -0
  140. benchlab/vu/VU-Server/www/favicon.ico +0 -0
  141. benchlab/vu/VU-Server/www/favicon.png +0 -0
  142. benchlab/vu/VU-Server/www/index.html +47 -0
  143. benchlab/vu/VU-Server/www/views/api_keys.html +151 -0
  144. benchlab/vu/VU-Server/www/views/dial.html +286 -0
  145. benchlab/vu/VU-Server/www/views/footer.html +27 -0
  146. benchlab/vu/VU-Server/www/views/header.html +86 -0
  147. benchlab/vu/VU-Server/www/views/key_settings.html +132 -0
  148. benchlab/vu/VU-Server/www/views/start.html +124 -0
  149. benchlab/vu/__init__.py +5 -0
  150. benchlab/vu/assets/Barlow-Bold.ttf +0 -0
  151. benchlab/vu/assets/bl_dial_144x200.png +0 -0
  152. benchlab/vu/assets/bl_logo_144x200.png +0 -0
  153. benchlab/vu/devices.py +166 -0
  154. benchlab/vu/requirements.txt +24 -0
  155. benchlab/vu/sensors.py +18 -0
  156. benchlab/vu/vu_dial.config_template +90 -0
  157. benchlab/vu/vu_logo_gen.py +97 -0
  158. benchlab/vu/vu_server.config_template +5 -0
  159. benchlab/vu/vu_server_config.py +40 -0
  160. benchlab/vu/vu_server_manager.py +192 -0
  161. benchlab/vu/vu_tui.py +919 -0
  162. benchlab/vu/vu_updater.py +540 -0
  163. benchlab/wigidash/README.md +182 -0
  164. benchlab/wigidash/__init__.py +5 -0
  165. benchlab/wigidash/assets/Inter-Bold.ttf +0 -0
  166. benchlab/wigidash/assets/Inter.ttf +0 -0
  167. benchlab/wigidash/assets/benchlab.png +0 -0
  168. benchlab/wigidash/benchlab_fleet.py +150 -0
  169. benchlab/wigidash/benchlab_graph.py +517 -0
  170. benchlab/wigidash/benchlab_overview.py +426 -0
  171. benchlab/wigidash/benchlab_telemetry.py +105 -0
  172. benchlab/wigidash/benchlab_ui.py +190 -0
  173. benchlab/wigidash/benchlab_utils.py +182 -0
  174. benchlab/wigidash/requirements.txt +9 -0
  175. benchlab/wigidash/wigidash_device.py +541 -0
  176. benchlab/wigidash/wigidash_manager.py +342 -0
  177. benchlab/wigidash/wigidash_session.py +355 -0
  178. benchlab/wigidash/wigidash_usb.py +247 -0
  179. benchlab/wigidash/wigidash_widget.py +88 -0
  180. benchlab_pytools-3.0.0.dist-info/METADATA +239 -0
  181. benchlab_pytools-3.0.0.dist-info/RECORD +184 -0
  182. benchlab_pytools-3.0.0.dist-info/WHEEL +4 -0
  183. benchlab_pytools-3.0.0.dist-info/entry_points.txt +2 -0
  184. benchlab_pytools-3.0.0.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,628 @@
1
+ [MASTER]
2
+ init-hook='import sys; sys.path.append(".")'
3
+
4
+ [MAIN]
5
+
6
+ # Analyse import fallback blocks. This can be used to support both Python 2 and
7
+ # 3 compatible code, which means that the block might have code that exists
8
+ # only in one or another interpreter, leading to false positives when analysed.
9
+ analyse-fallback-blocks=no
10
+
11
+ # Load and enable all available extensions. Use --list-extensions to see a list
12
+ # all available extensions.
13
+ #enable-all-extensions=
14
+
15
+ # In error mode, messages with a category besides ERROR or FATAL are
16
+ # suppressed, and no reports are done by default. Error mode is compatible with
17
+ # disabling specific errors.
18
+ #errors-only=
19
+
20
+ # Always return a 0 (non-error) status code, even if lint errors are found.
21
+ # This is primarily useful in continuous integration scripts.
22
+ #exit-zero=
23
+
24
+ # A comma-separated list of package or module names from where C extensions may
25
+ # be loaded. Extensions are loading into the active Python interpreter and may
26
+ # run arbitrary code.
27
+ extension-pkg-allow-list=
28
+
29
+ # A comma-separated list of package or module names from where C extensions may
30
+ # be loaded. Extensions are loading into the active Python interpreter and may
31
+ # run arbitrary code. (This is an alternative name to extension-pkg-allow-list
32
+ # for backward compatibility.)
33
+ extension-pkg-whitelist=
34
+
35
+ # Return non-zero exit code if any of these messages/categories are detected,
36
+ # even if score is above --fail-under value. Syntax same as enable. Messages
37
+ # specified are enabled, while categories only check already-enabled messages.
38
+ fail-on=
39
+
40
+ # Specify a score threshold under which the program will exit with error.
41
+ fail-under=10
42
+
43
+ # Interpret the stdin as a python script, whose filename needs to be passed as
44
+ # the module_or_package argument.
45
+ #from-stdin=
46
+
47
+ # Files or directories to be skipped. They should be base names, not paths.
48
+ ignore=CVS
49
+
50
+ # Add files or directories matching the regular expressions patterns to the
51
+ # ignore-list. The regex matches against paths and can be in Posix or Windows
52
+ # format. Because '\' represents the directory delimiter on Windows systems, it
53
+ # can't be used as an escape character.
54
+ ignore-paths=
55
+
56
+ # Files or directories matching the regular expression patterns are skipped.
57
+ # The regex matches against base names, not paths. The default value ignores
58
+ # Emacs file locks
59
+ ignore-patterns=^\.#
60
+
61
+ # List of module names for which member attributes should not be checked
62
+ # (useful for modules/projects where namespaces are manipulated during runtime
63
+ # and thus existing member attributes cannot be deduced by static analysis). It
64
+ # supports qualified module names, as well as Unix pattern matching.
65
+ ignored-modules=
66
+
67
+ # Python code to execute, usually for sys.path manipulation such as
68
+ # pygtk.require().
69
+ #init-hook=
70
+
71
+ # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the
72
+ # number of processors available to use, and will cap the count on Windows to
73
+ # avoid hangs.
74
+ jobs=1
75
+
76
+ # Control the amount of potential inferred values when inferring a single
77
+ # object. This can help the performance when dealing with large functions or
78
+ # complex, nested conditions.
79
+ limit-inference-results=100
80
+
81
+ # List of plugins (as comma separated values of python module names) to load,
82
+ # usually to register additional checkers.
83
+ load-plugins=
84
+
85
+ # Pickle collected data for later comparisons.
86
+ persistent=yes
87
+
88
+ # Minimum Python version to use for version dependent checks. Will default to
89
+ # the version used to run pylint.
90
+ py-version=3.9
91
+
92
+ # Discover python modules and packages in the file system subtree.
93
+ recursive=no
94
+
95
+ # When enabled, pylint would attempt to guess common misconfiguration and emit
96
+ # user-friendly hints instead of false-positive error messages.
97
+ suggestion-mode=yes
98
+
99
+ # Allow loading of arbitrary C extensions. Extensions are imported into the
100
+ # active Python interpreter and may run arbitrary code.
101
+ unsafe-load-any-extension=no
102
+
103
+ # In verbose mode, extra non-checker-related info will be displayed.
104
+ #verbose=
105
+
106
+
107
+ [BASIC]
108
+
109
+ # Naming style matching correct argument names.
110
+ argument-naming-style=snake_case
111
+
112
+ # Regular expression matching correct argument names. Overrides argument-
113
+ # naming-style. If left empty, argument names will be checked with the set
114
+ # naming style.
115
+ #argument-rgx=
116
+
117
+ # Naming style matching correct attribute names.
118
+ attr-naming-style=snake_case
119
+
120
+ # Regular expression matching correct attribute names. Overrides attr-naming-
121
+ # style. If left empty, attribute names will be checked with the set naming
122
+ # style.
123
+ #attr-rgx=
124
+
125
+ # Bad variable names which should always be refused, separated by a comma.
126
+ bad-names=foo,
127
+ bar,
128
+ baz,
129
+ toto,
130
+ tutu,
131
+ tata
132
+
133
+ # Bad variable names regexes, separated by a comma. If names match any regex,
134
+ # they will always be refused
135
+ bad-names-rgxs=
136
+
137
+ # Naming style matching correct class attribute names.
138
+ class-attribute-naming-style=any
139
+
140
+ # Regular expression matching correct class attribute names. Overrides class-
141
+ # attribute-naming-style. If left empty, class attribute names will be checked
142
+ # with the set naming style.
143
+ #class-attribute-rgx=
144
+
145
+ # Naming style matching correct class constant names.
146
+ class-const-naming-style=UPPER_CASE
147
+
148
+ # Regular expression matching correct class constant names. Overrides class-
149
+ # const-naming-style. If left empty, class constant names will be checked with
150
+ # the set naming style.
151
+ #class-const-rgx=
152
+
153
+ # Naming style matching correct class names.
154
+ class-naming-style=PascalCase
155
+
156
+ # Regular expression matching correct class names. Overrides class-naming-
157
+ # style. If left empty, class names will be checked with the set naming style.
158
+ class-rgx='[A-Z][a-z]+'
159
+
160
+ # Naming style matching correct constant names.
161
+ const-naming-style=UPPER_CASE
162
+
163
+ # Regular expression matching correct constant names. Overrides const-naming-
164
+ # style. If left empty, constant names will be checked with the set naming
165
+ # style.
166
+ #const-rgx=
167
+
168
+ # Minimum line length for functions/classes that require docstrings, shorter
169
+ # ones are exempt.
170
+ docstring-min-length=-1
171
+
172
+ # Naming style matching correct function names.
173
+ function-naming-style=snake_case
174
+
175
+ # Regular expression matching correct function names. Overrides function-
176
+ # naming-style. If left empty, function names will be checked with the set
177
+ # naming style.
178
+ #function-rgx=
179
+
180
+ # Good variable names which should always be accepted, separated by a comma.
181
+ good-names=i,
182
+ j,
183
+ k,
184
+ ex,
185
+ Run,
186
+ _
187
+
188
+ # Good variable names regexes, separated by a comma. If names match any regex,
189
+ # they will always be accepted
190
+ good-names-rgxs=
191
+
192
+ # Include a hint for the correct naming format with invalid-name.
193
+ include-naming-hint=no
194
+
195
+ # Naming style matching correct inline iteration names.
196
+ inlinevar-naming-style=any
197
+
198
+ # Regular expression matching correct inline iteration names. Overrides
199
+ # inlinevar-naming-style. If left empty, inline iteration names will be checked
200
+ # with the set naming style.
201
+ #inlinevar-rgx=
202
+
203
+ # Naming style matching correct method names.
204
+ method-naming-style=snake_case
205
+
206
+ # Regular expression matching correct method names. Overrides method-naming-
207
+ # style. If left empty, method names will be checked with the set naming style.
208
+ #method-rgx=
209
+
210
+ # Naming style matching correct module names.
211
+ module-naming-style=snake_case
212
+
213
+ # Regular expression matching correct module names. Overrides module-naming-
214
+ # style. If left empty, module names will be checked with the set naming style.
215
+ #module-rgx=
216
+
217
+ # Colon-delimited sets of names that determine each other's naming style when
218
+ # the name regexes allow several styles.
219
+ name-group=
220
+
221
+ # Regular expression which should only match function or class names that do
222
+ # not require a docstring.
223
+ no-docstring-rgx=^_
224
+
225
+ # List of decorators that produce properties, such as abc.abstractproperty. Add
226
+ # to this list to register other decorators that produce valid properties.
227
+ # These decorators are taken in consideration only for invalid-name.
228
+ property-classes=abc.abstractproperty
229
+
230
+ # Regular expression matching correct type variable names. If left empty, type
231
+ # variable names will be checked with the set naming style.
232
+ #typevar-rgx=
233
+
234
+ # Naming style matching correct variable names.
235
+ variable-naming-style=snake_case
236
+
237
+ # Regular expression matching correct variable names. Overrides variable-
238
+ # naming-style. If left empty, variable names will be checked with the set
239
+ # naming style.
240
+ #variable-rgx=
241
+
242
+
243
+ [CLASSES]
244
+
245
+ # Warn about protected attribute access inside special methods
246
+ check-protected-access-in-special-methods=no
247
+
248
+ # List of method names used to declare (i.e. assign) instance attributes.
249
+ defining-attr-methods=__init__,
250
+ __new__,
251
+ setUp,
252
+ __post_init__
253
+
254
+ # List of member names, which should be excluded from the protected access
255
+ # warning.
256
+ exclude-protected=_asdict,
257
+ _fields,
258
+ _replace,
259
+ _source,
260
+ _make
261
+
262
+ # List of valid names for the first argument in a class method.
263
+ valid-classmethod-first-arg=cls
264
+
265
+ # List of valid names for the first argument in a metaclass class method.
266
+ valid-metaclass-classmethod-first-arg=cls
267
+
268
+
269
+ [DESIGN]
270
+
271
+ # List of regular expressions of class ancestor names to ignore when counting
272
+ # public methods (see R0903)
273
+ exclude-too-few-public-methods=
274
+
275
+ # List of qualified class names to ignore when counting class parents (see
276
+ # R0901)
277
+ ignored-parents=
278
+
279
+ # Maximum number of arguments for function / method.
280
+ max-args=8
281
+
282
+ # Maximum number of attributes for a class (see R0902).
283
+ max-attributes=7
284
+
285
+ # Maximum number of boolean expressions in an if statement (see R0916).
286
+ max-bool-expr=5
287
+
288
+ # Maximum number of branch for function / method body.
289
+ max-branches=12
290
+
291
+ # Maximum number of locals for function / method body.
292
+ max-locals=15
293
+
294
+ # Maximum number of parents for a class (see R0901).
295
+ max-parents=7
296
+
297
+ # Maximum number of public methods for a class (see R0904).
298
+ max-public-methods=20
299
+
300
+ # Maximum number of return / yield for function / method body.
301
+ max-returns=6
302
+
303
+ # Maximum number of statements in function / method body.
304
+ max-statements=50
305
+
306
+ # Minimum number of public methods for a class (see R0903).
307
+ min-public-methods=2
308
+
309
+
310
+ [EXCEPTIONS]
311
+
312
+ # Exceptions that will emit a warning when caught.
313
+ overgeneral-exceptions=BaseException,
314
+ Exception
315
+
316
+
317
+ [FORMAT]
318
+
319
+ # Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
320
+ expected-line-ending-format=
321
+
322
+ # Regexp for a line that is allowed to be longer than the limit.
323
+ ignore-long-lines=^\s*(# )?<?https?://\S+>?$
324
+
325
+ # Number of spaces of indent required inside a hanging or continued line.
326
+ indent-after-paren=4
327
+
328
+ # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
329
+ # tab).
330
+ indent-string=' '
331
+
332
+ # Maximum number of characters on a single line.
333
+ max-line-length=160
334
+
335
+ # Maximum number of lines in a module.
336
+ max-module-lines=1000
337
+
338
+ # Allow the body of a class to be on the same line as the declaration if body
339
+ # contains single statement.
340
+ single-line-class-stmt=no
341
+
342
+ # Allow the body of an if to be on the same line as the test if there is no
343
+ # else.
344
+ single-line-if-stmt=no
345
+
346
+
347
+ [IMPORTS]
348
+
349
+ # List of modules that can be imported at any level, not just the top level
350
+ # one.
351
+ allow-any-import-level=
352
+
353
+ # Allow wildcard imports from modules that define __all__.
354
+ allow-wildcard-with-all=no
355
+
356
+ # Deprecated modules which should not be used, separated by a comma.
357
+ deprecated-modules=
358
+
359
+ # Output a graph (.gv or any supported image format) of external dependencies
360
+ # to the given file (report RP0402 must not be disabled).
361
+ ext-import-graph=
362
+
363
+ # Output a graph (.gv or any supported image format) of all (i.e. internal and
364
+ # external) dependencies to the given file (report RP0402 must not be
365
+ # disabled).
366
+ import-graph=
367
+
368
+ # Output a graph (.gv or any supported image format) of internal dependencies
369
+ # to the given file (report RP0402 must not be disabled).
370
+ int-import-graph=
371
+
372
+ # Force import order to recognize a module as part of the standard
373
+ # compatibility libraries.
374
+ known-standard-library=
375
+
376
+ # Force import order to recognize a module as part of a third party library.
377
+ known-third-party=enchant
378
+
379
+ # Couples of modules and preferred modules, separated by a comma.
380
+ preferred-modules=
381
+
382
+
383
+ [LOGGING]
384
+
385
+ # The type of string formatting that logging methods do. `old` means using %
386
+ # formatting, `new` is for `{}` formatting.
387
+ logging-format-style=new
388
+
389
+ # Logging modules to check that the string format arguments are in logging
390
+ # function parameter format.
391
+ logging-modules=logging
392
+
393
+
394
+ [MESSAGES CONTROL]
395
+
396
+ # Only show warnings with the listed confidence levels. Leave empty to show
397
+ # all. Valid levels: HIGH, CONTROL_FLOW, INFERENCE, INFERENCE_FAILURE,
398
+ # UNDEFINED.
399
+ confidence=HIGH,
400
+ CONTROL_FLOW,
401
+ INFERENCE,
402
+ INFERENCE_FAILURE,
403
+ UNDEFINED
404
+
405
+ # Disable the message, report, category or checker with the given id(s). You
406
+ # can either give multiple identifiers separated by comma (,) or put this
407
+ # option multiple times (only on the command line, not in the configuration
408
+ # file where it should appear only once). You can also use "--disable=all" to
409
+ # disable everything first and then re-enable specific checks. For example, if
410
+ # you want to run only the similarities checker, you can use "--disable=all
411
+ # --enable=similarities". If you want to run only the classes checker, but have
412
+ # no Warning level messages displayed, use "--disable=all --enable=classes
413
+ # --disable=W".
414
+ disable=raw-checker-failed,
415
+ bad-inline-option,
416
+ locally-disabled,
417
+ file-ignored,
418
+ missing-docstring,
419
+ suppressed-message,
420
+ useless-suppression,
421
+ deprecated-pragma,
422
+ use-symbolic-message-instead,
423
+ bare-except,
424
+ consider-using-f-string, #py3 remove
425
+ logging-fstring-interpolation,
426
+ logging-format-interpolation,
427
+ abstract-method,
428
+ invalid-name
429
+
430
+ # Enable the message, report, category or checker with the given id(s). You can
431
+ # either give multiple identifier separated by comma (,) or put this option
432
+ # multiple time (only on the command line, not in the configuration file where
433
+ # it should appear only once). See also the "--disable" option for examples.
434
+ enable=c-extension-no-member
435
+
436
+
437
+ [METHOD_ARGS]
438
+
439
+ # List of qualified names (i.e., library.method) which require a timeout
440
+ # parameter e.g. 'requests.api.get,requests.api.post'
441
+ timeout-methods=requests.api.delete,requests.api.get,requests.api.head,requests.api.options,requests.api.patch,requests.api.post,requests.api.put,requests.api.request
442
+
443
+
444
+ [MISCELLANEOUS]
445
+
446
+ # List of note tags to take in consideration, separated by a comma.
447
+ notes=FIXME,
448
+ XXX,
449
+ TODO
450
+
451
+ # Regular expression of note tags to take in consideration.
452
+ notes-rgx=
453
+
454
+
455
+ [REFACTORING]
456
+
457
+ # Maximum number of nested blocks for function / method body
458
+ max-nested-blocks=5
459
+
460
+ # Complete name of functions that never returns. When checking for
461
+ # inconsistent-return-statements if a never returning function is called then
462
+ # it will be considered as an explicit return statement and no message will be
463
+ # printed.
464
+ never-returning-functions=sys.exit,argparse.parse_error
465
+
466
+
467
+ [REPORTS]
468
+
469
+ # Python expression which should return a score less than or equal to 10. You
470
+ # have access to the variables 'fatal', 'error', 'warning', 'refactor',
471
+ # 'convention', and 'info' which contain the number of messages in each
472
+ # category, as well as 'statement' which is the total number of statements
473
+ # analyzed. This score is used by the global evaluation report (RP0004).
474
+ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10))
475
+
476
+ # Template used to display messages. This is a python new-style format string
477
+ # used to format the message information. See doc for all details.
478
+ msg-template=
479
+
480
+ # Set the output format. Available formats are text, parseable, colorized, json
481
+ # and msvs (visual studio). You can also give a reporter class, e.g.
482
+ # mypackage.mymodule.MyReporterClass.
483
+ #output-format=
484
+
485
+ # Tells whether to display a full report or only the messages.
486
+ reports=no
487
+
488
+ # Activate the evaluation score.
489
+ score=yes
490
+
491
+
492
+ [SIMILARITIES]
493
+
494
+ # Comments are removed from the similarity computation
495
+ ignore-comments=yes
496
+
497
+ # Docstrings are removed from the similarity computation
498
+ ignore-docstrings=yes
499
+
500
+ # Imports are removed from the similarity computation
501
+ ignore-imports=yes
502
+
503
+ # Signatures are removed from the similarity computation
504
+ ignore-signatures=yes
505
+
506
+ # Minimum lines number of a similarity.
507
+ min-similarity-lines=4
508
+
509
+
510
+ [SPELLING]
511
+
512
+ # Limits count of emitted suggestions for spelling mistakes.
513
+ max-spelling-suggestions=4
514
+
515
+ # Spelling dictionary name. Available dictionaries: none. To make it work,
516
+ # install the 'python-enchant' package.
517
+ spelling-dict=
518
+
519
+ # List of comma separated words that should be considered directives if they
520
+ # appear at the beginning of a comment and should not be checked.
521
+ spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:
522
+
523
+ # List of comma separated words that should not be checked.
524
+ spelling-ignore-words=
525
+
526
+ # A path to a file that contains the private dictionary; one word per line.
527
+ spelling-private-dict-file=
528
+
529
+ # Tells whether to store unknown words to the private dictionary (see the
530
+ # --spelling-private-dict-file option) instead of raising a message.
531
+ spelling-store-unknown-words=no
532
+
533
+
534
+ [STRING]
535
+
536
+ # This flag controls whether inconsistent-quotes generates a warning when the
537
+ # character used as a quote delimiter is used inconsistently within a module.
538
+ check-quote-consistency=no
539
+
540
+ # This flag controls whether the implicit-str-concat should generate a warning
541
+ # on implicit string concatenation in sequences defined over several lines.
542
+ check-str-concat-over-line-jumps=no
543
+
544
+
545
+ [TYPECHECK]
546
+
547
+ # List of decorators that produce context managers, such as
548
+ # contextlib.contextmanager. Add to this list to register other decorators that
549
+ # produce valid context managers.
550
+ contextmanager-decorators=contextlib.contextmanager
551
+
552
+ # List of members which are set dynamically and missed by pylint inference
553
+ # system, and so shouldn't trigger E1101 when accessed. Python regular
554
+ # expressions are accepted.
555
+ generated-members=
556
+
557
+ # Tells whether to warn about missing members when the owner of the attribute
558
+ # is inferred to be None.
559
+ ignore-none=yes
560
+
561
+ # This flag controls whether pylint should warn about no-member and similar
562
+ # checks whenever an opaque object is returned when inferring. The inference
563
+ # can return multiple potential results while evaluating a Python object, but
564
+ # some branches might not be evaluated, which results in partial inference. In
565
+ # that case, it might be useful to still emit no-member and other checks for
566
+ # the rest of the inferred objects.
567
+ ignore-on-opaque-inference=yes
568
+
569
+ # List of symbolic message names to ignore for Mixin members.
570
+ ignored-checks-for-mixins=no-member,
571
+ not-async-context-manager,
572
+ not-context-manager,
573
+ attribute-defined-outside-init
574
+
575
+ # List of class names for which member attributes should not be checked (useful
576
+ # for classes with dynamically set attributes). This supports the use of
577
+ # qualified names.
578
+ ignored-classes=optparse.Values,thread._local,_thread._local,argparse.Namespace
579
+
580
+ # Show a hint with possible names when a member name was not found. The aspect
581
+ # of finding the hint is based on edit distance.
582
+ missing-member-hint=yes
583
+
584
+ # The minimum edit distance a name should have in order to be considered a
585
+ # similar match for a missing member name.
586
+ missing-member-hint-distance=1
587
+
588
+ # The total number of similar names that should be taken in consideration when
589
+ # showing a hint for a missing member.
590
+ missing-member-max-choices=1
591
+
592
+ # Regex pattern to define which classes are considered mixins.
593
+ mixin-class-rgx=.*[Mm]ixin
594
+
595
+ # List of decorators that change the signature of a decorated function.
596
+ signature-mutators=
597
+
598
+
599
+ [VARIABLES]
600
+
601
+ # List of additional names supposed to be defined in builtins. Remember that
602
+ # you should avoid defining new builtins when possible.
603
+ additional-builtins=
604
+
605
+ # Tells whether unused global variables should be treated as a violation.
606
+ allow-global-unused-variables=yes
607
+
608
+ # List of names allowed to shadow builtins
609
+ allowed-redefined-builtins=
610
+
611
+ # List of strings which can identify a callback function by name. A callback
612
+ # name must start or end with one of those strings.
613
+ callbacks=cb_,
614
+ _cb
615
+
616
+ # A regular expression matching the name of dummy variables (i.e. expected to
617
+ # not be used).
618
+ dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
619
+
620
+ # Argument names that match this expression will be ignored.
621
+ ignored-argument-names=_.*|^ignored_|^unused_
622
+
623
+ # Tells whether we should check for unused import in __init__ files.
624
+ init-import=no
625
+
626
+ # List of qualified module names which can have objects that can redefine
627
+ # builtins.
628
+ redefining-builtins-modules=six.moves,past.builtins,future.builtins,builtins,io
@@ -0,0 +1,9 @@
1
+ tornado
2
+ numpy
3
+ pillow
4
+ requests
5
+ argparse
6
+ pyyaml
7
+ ruamel.yaml
8
+ pyserial
9
+ pyinstaller