Stefan Schuermans commited on 2026-02-14 18:18:29
Showing 5 changed files, with 9 additions and 556 deletions.
| ... | ... |
@@ -49,7 +49,7 @@ def calculate_stats(upt_traces: list) -> dict: |
| 49 | 49 |
attr_values[attr].append(getattr(process, attr)) |
| 50 | 50 |
|
| 51 | 51 |
# Calulate the statistics |
| 52 |
- stats = dict() |
|
| 52 |
+ stats = {}
|
|
| 53 | 53 |
for attr, values in attr_values.items(): |
| 54 | 54 |
if not values: |
| 55 | 55 |
stats[attr] = (0, 0, 0, 0) |
| ... | ... |
@@ -2,8 +2,8 @@ add_test( |
| 2 | 2 |
NAME |
| 3 | 3 |
pylint |
| 4 | 4 |
COMMAND |
| 5 |
- pylint3 --rcfile=${CMAKE_CURRENT_SOURCE_DIR}/pylint.rc
|
|
| 6 |
- --ignore uproctrace_pb2.py uproctrace |
|
| 5 |
+ pylint --rcfile=${CMAKE_CURRENT_SOURCE_DIR}/pylint.rc
|
|
| 6 |
+ --ignore uproctrace.uproctrace_pb2.py uproctrace |
|
| 7 | 7 |
) |
| 8 | 8 |
|
| 9 | 9 |
SET_TESTS_PROPERTIES( |
| ... | ... |
@@ -1,553 +1,5 @@ |
| 1 |
-[MASTER] |
|
| 2 |
- |
|
| 3 |
-# A comma-separated list of package or module names from where C extensions may |
|
| 4 |
-# be loaded. Extensions are loading into the active Python interpreter and may |
|
| 5 |
-# run arbitrary code |
|
| 6 |
-extension-pkg-whitelist= |
|
| 7 |
- |
|
| 8 |
-# Add files or directories to the blacklist. They should be base names, not |
|
| 9 |
-# paths. |
|
| 10 |
-ignore=CVS |
|
| 11 |
- |
|
| 12 |
-# Add files or directories matching the regex patterns to the blacklist. The |
|
| 13 |
-# regex matches against base names, not paths. |
|
| 14 |
-ignore-patterns= |
|
| 15 |
- |
|
| 16 |
-# Python code to execute, usually for sys.path manipulation such as |
|
| 17 |
-# pygtk.require(). |
|
| 18 |
-#init-hook= |
|
| 19 |
- |
|
| 20 |
-# Use multiple processes to speed up Pylint. |
|
| 21 |
-jobs=1 |
|
| 22 |
- |
|
| 23 |
-# List of plugins (as comma separated values of python modules names) to load, |
|
| 24 |
-# usually to register additional checkers. |
|
| 25 |
-load-plugins= |
|
| 26 |
- |
|
| 27 |
-# Pickle collected data for later comparisons. |
|
| 28 |
-persistent=yes |
|
| 29 |
- |
|
| 30 |
-# Specify a configuration file. |
|
| 31 |
-#rcfile= |
|
| 32 |
- |
|
| 33 |
-# When enabled, pylint would attempt to guess common misconfiguration and emit |
|
| 34 |
-# user-friendly hints instead of false-positive error messages |
|
| 35 |
-suggestion-mode=yes |
|
| 36 |
- |
|
| 37 |
-# Allow loading of arbitrary C extensions. Extensions are imported into the |
|
| 38 |
-# active Python interpreter and may run arbitrary code. |
|
| 39 |
-unsafe-load-any-extension=no |
|
| 40 |
- |
|
| 41 |
- |
|
| 42 |
-[MESSAGES CONTROL] |
|
| 43 |
- |
|
| 44 |
-# Only show warnings with the listed confidence levels. Leave empty to show |
|
| 45 |
-# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED |
|
| 46 |
-confidence= |
|
| 47 |
- |
|
| 48 |
-# Disable the message, report, category or checker with the given id(s). You |
|
| 49 |
-# can either give multiple identifiers separated by comma (,) or put this |
|
| 50 |
-# option multiple times (only on the command line, not in the configuration |
|
| 51 |
-# file where it should appear only once).You can also use "--disable=all" to |
|
| 52 |
-# disable everything first and then reenable specific checks. For example, if |
|
| 53 |
-# you want to run only the similarities checker, you can use "--disable=all |
|
| 54 |
-# --enable=similarities". If you want to run only the classes checker, but have |
|
| 55 |
-# no Warning level messages displayed, use"--disable=all --enable=classes |
|
| 56 |
-# --disable=W" |
|
| 57 |
-disable=print-statement, |
|
| 58 |
- parameter-unpacking, |
|
| 59 |
- unpacking-in-except, |
|
| 60 |
- old-raise-syntax, |
|
| 61 |
- backtick, |
|
| 62 |
- long-suffix, |
|
| 63 |
- old-ne-operator, |
|
| 64 |
- old-octal-literal, |
|
| 65 |
- import-star-module-level, |
|
| 66 |
- non-ascii-bytes-literal, |
|
| 67 |
- invalid-unicode-literal, |
|
| 68 |
- raw-checker-failed, |
|
| 69 |
- bad-inline-option, |
|
| 70 |
- locally-disabled, |
|
| 71 |
- locally-enabled, |
|
| 72 |
- file-ignored, |
|
| 73 |
- suppressed-message, |
|
| 74 |
- useless-suppression, |
|
| 75 |
- deprecated-pragma, |
|
| 76 |
- apply-builtin, |
|
| 77 |
- basestring-builtin, |
|
| 78 |
- buffer-builtin, |
|
| 79 |
- cmp-builtin, |
|
| 80 |
- coerce-builtin, |
|
| 81 |
- execfile-builtin, |
|
| 82 |
- file-builtin, |
|
| 83 |
- long-builtin, |
|
| 84 |
- raw_input-builtin, |
|
| 85 |
- reduce-builtin, |
|
| 86 |
- standarderror-builtin, |
|
| 87 |
- unicode-builtin, |
|
| 88 |
- xrange-builtin, |
|
| 89 |
- coerce-method, |
|
| 90 |
- delslice-method, |
|
| 91 |
- getslice-method, |
|
| 92 |
- setslice-method, |
|
| 93 |
- no-absolute-import, |
|
| 94 |
- old-division, |
|
| 95 |
- dict-iter-method, |
|
| 96 |
- dict-view-method, |
|
| 97 |
- next-method-called, |
|
| 98 |
- metaclass-assignment, |
|
| 99 |
- indexing-exception, |
|
| 100 |
- raising-string, |
|
| 101 |
- reload-builtin, |
|
| 102 |
- oct-method, |
|
| 103 |
- hex-method, |
|
| 104 |
- nonzero-method, |
|
| 105 |
- cmp-method, |
|
| 106 |
- input-builtin, |
|
| 107 |
- round-builtin, |
|
| 108 |
- intern-builtin, |
|
| 109 |
- unichr-builtin, |
|
| 110 |
- map-builtin-not-iterating, |
|
| 111 |
- zip-builtin-not-iterating, |
|
| 112 |
- range-builtin-not-iterating, |
|
| 113 |
- filter-builtin-not-iterating, |
|
| 114 |
- using-cmp-argument, |
|
| 115 |
- eq-without-hash, |
|
| 116 |
- div-method, |
|
| 117 |
- idiv-method, |
|
| 118 |
- rdiv-method, |
|
| 119 |
- exception-message-attribute, |
|
| 120 |
- invalid-str-codec, |
|
| 121 |
- sys-max-int, |
|
| 122 |
- bad-python3-import, |
|
| 123 |
- deprecated-string-function, |
|
| 124 |
- deprecated-str-translate-call, |
|
| 125 |
- deprecated-itertools-function, |
|
| 126 |
- deprecated-types-field, |
|
| 127 |
- next-method-defined, |
|
| 128 |
- dict-items-not-iterating, |
|
| 129 |
- dict-keys-not-iterating, |
|
| 130 |
- dict-values-not-iterating, |
|
| 131 |
- deprecated-operator-function, |
|
| 132 |
- deprecated-urllib-function, |
|
| 133 |
- xreadlines-attribute, |
|
| 134 |
- deprecated-sys-function, |
|
| 135 |
- exception-escape, |
|
| 136 |
- comprehension-escape, |
|
| 137 |
- fixme, |
|
| 138 |
- no-self-use, |
|
| 139 |
- todo, |
|
| 140 |
- too-few-public-methods |
|
| 141 |
- |
|
| 142 |
-# Enable the message, report, category or checker with the given id(s). You can |
|
| 143 |
-# either give multiple identifier separated by comma (,) or put this option |
|
| 144 |
-# multiple time (only on the command line, not in the configuration file where |
|
| 145 |
-# it should appear only once). See also the "--disable" option for examples. |
|
| 146 |
-enable=c-extension-no-member |
|
| 147 |
- |
|
| 148 |
- |
|
| 149 |
-[REPORTS] |
|
| 150 |
- |
|
| 151 |
-# Python expression which should return a note less than 10 (10 is the highest |
|
| 152 |
-# note). You have access to the variables errors warning, statement which |
|
| 153 |
-# respectively contain the number of errors / warnings messages and the total |
|
| 154 |
-# number of statements analyzed. This is used by the global evaluation report |
|
| 155 |
-# (RP0004). |
|
| 156 |
-evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) |
|
| 157 |
- |
|
| 158 |
-# Template used to display messages. This is a python new-style format string |
|
| 159 |
-# used to format the message information. See doc for all details |
|
| 160 |
-#msg-template= |
|
| 161 |
- |
|
| 162 |
-# Set the output format. Available formats are text, parseable, colorized, json |
|
| 163 |
-# and msvs (visual studio).You can also give a reporter class, eg |
|
| 164 |
-# mypackage.mymodule.MyReporterClass. |
|
| 165 |
-output-format=text |
|
| 166 |
- |
|
| 167 |
-# Tells whether to display a full report or only the messages |
|
| 168 |
-reports=no |
|
| 169 |
- |
|
| 170 |
-# Activate the evaluation score. |
|
| 171 |
-score=yes |
|
| 172 |
- |
|
| 173 |
- |
|
| 174 |
-[REFACTORING] |
|
| 175 |
- |
|
| 176 |
-# Maximum number of nested blocks for function / method body |
|
| 177 |
-max-nested-blocks=5 |
|
| 178 |
- |
|
| 179 |
-# Complete name of functions that never returns. When checking for |
|
| 180 |
-# inconsistent-return-statements if a never returning function is called then |
|
| 181 |
-# it will be considered as an explicit return statement and no message will be |
|
| 182 |
-# printed. |
|
| 183 |
-never-returning-functions=optparse.Values,sys.exit |
|
| 184 |
- |
|
| 185 |
- |
|
| 186 |
-[SIMILARITIES] |
|
| 187 |
- |
|
| 188 |
-# Ignore comments when computing similarities. |
|
| 189 |
-ignore-comments=yes |
|
| 190 |
- |
|
| 191 |
-# Ignore docstrings when computing similarities. |
|
| 192 |
-ignore-docstrings=yes |
|
| 193 |
- |
|
| 194 |
-# Ignore imports when computing similarities. |
|
| 195 |
-ignore-imports=no |
|
| 196 |
- |
|
| 197 |
-# Minimum lines number of a similarity. |
|
| 198 |
-min-similarity-lines=4 |
|
| 199 |
- |
|
| 200 |
- |
|
| 201 |
-[BASIC] |
|
| 202 |
- |
|
| 203 |
-# Naming style matching correct argument names |
|
| 204 |
-argument-naming-style=snake_case |
|
| 205 |
- |
|
| 206 |
-# Regular expression matching correct argument names. Overrides argument- |
|
| 207 |
-# naming-style |
|
| 208 |
-#argument-rgx= |
|
| 209 |
- |
|
| 210 |
-# Naming style matching correct attribute names |
|
| 211 |
-attr-naming-style=snake_case |
|
| 212 |
- |
|
| 213 |
-# Regular expression matching correct attribute names. Overrides attr-naming- |
|
| 214 |
-# style |
|
| 215 |
-#attr-rgx= |
|
| 216 |
- |
|
| 217 |
-# Bad variable names which should always be refused, separated by a comma |
|
| 218 |
-bad-names=foo, |
|
| 219 |
- bar, |
|
| 220 |
- baz, |
|
| 221 |
- toto, |
|
| 222 |
- tutu, |
|
| 223 |
- tata |
|
| 224 |
- |
|
| 225 |
-# Naming style matching correct class attribute names |
|
| 226 |
-class-attribute-naming-style=any |
|
| 227 |
- |
|
| 228 |
-# Regular expression matching correct class attribute names. Overrides class- |
|
| 229 |
-# attribute-naming-style |
|
| 230 |
-#class-attribute-rgx= |
|
| 231 |
- |
|
| 232 |
-# Naming style matching correct class names |
|
| 233 |
-class-naming-style=PascalCase |
|
| 234 |
- |
|
| 235 |
-# Regular expression matching correct class names. Overrides class-naming-style |
|
| 236 |
-#class-rgx= |
|
| 237 |
- |
|
| 238 |
-# Naming style matching correct constant names |
|
| 239 |
-const-naming-style=UPPER_CASE |
|
| 240 |
- |
|
| 241 |
-# Regular expression matching correct constant names. Overrides const-naming- |
|
| 242 |
-# style |
|
| 243 |
-#const-rgx= |
|
| 244 |
- |
|
| 245 |
-# Minimum line length for functions/classes that require docstrings, shorter |
|
| 246 |
-# ones are exempt. |
|
| 247 |
-docstring-min-length=-1 |
|
| 248 |
- |
|
| 249 |
-# Naming style matching correct function names |
|
| 250 |
-function-naming-style=snake_case |
|
| 251 |
- |
|
| 252 |
-# Regular expression matching correct function names. Overrides function- |
|
| 253 |
-# naming-style |
|
| 254 |
-#function-rgx= |
|
| 255 |
- |
|
| 256 |
-# Good variable names which should always be accepted, separated by a comma |
|
| 257 |
-good-names=i, |
|
| 258 |
- j, |
|
| 259 |
- k, |
|
| 260 |
- ex, |
|
| 261 |
- Run, |
|
| 262 |
- _ |
|
| 263 |
- |
|
| 264 |
-# Include a hint for the correct naming format with invalid-name |
|
| 265 |
-include-naming-hint=no |
|
| 266 |
- |
|
| 267 |
-# Naming style matching correct inline iteration names |
|
| 268 |
-inlinevar-naming-style=any |
|
| 269 |
- |
|
| 270 |
-# Regular expression matching correct inline iteration names. Overrides |
|
| 271 |
-# inlinevar-naming-style |
|
| 272 |
-#inlinevar-rgx= |
|
| 273 |
- |
|
| 274 |
-# Naming style matching correct method names |
|
| 275 |
-method-naming-style=camelCase |
|
| 276 |
- |
|
| 277 |
-# Regular expression matching correct method names. Overrides method-naming- |
|
| 278 |
-# style |
|
| 279 |
-#method-rgx= |
|
| 280 |
- |
|
| 281 |
-# Naming style matching correct module names |
|
| 282 |
-module-naming-style=snake_case |
|
| 283 |
- |
|
| 284 |
-# Regular expression matching correct module names. Overrides module-naming- |
|
| 285 |
-# style |
|
| 286 |
-#module-rgx= |
|
| 287 |
- |
|
| 288 |
-# Colon-delimited sets of names that determine each other's naming style when |
|
| 289 |
-# the name regexes allow several styles. |
|
| 290 |
-name-group= |
|
| 291 |
- |
|
| 292 |
-# Regular expression which should only match function or class names that do |
|
| 293 |
-# not require a docstring. |
|
| 294 |
-no-docstring-rgx=^_ |
|
| 295 |
- |
|
| 296 |
-# List of decorators that produce properties, such as abc.abstractproperty. Add |
|
| 297 |
-# to this list to register other decorators that produce valid properties. |
|
| 298 |
-property-classes=abc.abstractproperty |
|
| 299 |
- |
|
| 300 |
-# Naming style matching correct variable names |
|
| 301 |
-variable-naming-style=snake_case |
|
| 302 |
- |
|
| 303 |
-# Regular expression matching correct variable names. Overrides variable- |
|
| 304 |
-# naming-style |
|
| 305 |
-#variable-rgx= |
|
| 306 |
- |
|
| 307 |
- |
|
| 308 |
-[SPELLING] |
|
| 309 |
- |
|
| 310 |
-# Limits count of emitted suggestions for spelling mistakes |
|
| 311 |
-max-spelling-suggestions=4 |
|
| 312 |
- |
|
| 313 |
-# Spelling dictionary name. Available dictionaries: none. To make it working |
|
| 314 |
-# install python-enchant package. |
|
| 315 |
-spelling-dict= |
|
| 316 |
- |
|
| 317 |
-# List of comma separated words that should not be checked. |
|
| 318 |
-spelling-ignore-words= |
|
| 319 |
- |
|
| 320 |
-# A path to a file that contains private dictionary; one word per line. |
|
| 321 |
-spelling-private-dict-file= |
|
| 322 |
- |
|
| 323 |
-# Tells whether to store unknown words to indicated private dictionary in |
|
| 324 |
-# --spelling-private-dict-file option instead of raising a message. |
|
| 325 |
-spelling-store-unknown-words=no |
|
| 326 |
- |
|
| 327 |
- |
|
| 328 |
-[FORMAT] |
|
| 329 |
- |
|
| 330 |
-# Expected format of line ending, e.g. empty (any line ending), LF or CRLF. |
|
| 331 |
-expected-line-ending-format= |
|
| 332 |
- |
|
| 333 |
-# Regexp for a line that is allowed to be longer than the limit. |
|
| 334 |
-ignore-long-lines=^\s*(# )?<?https?://\S+>?$ |
|
| 335 |
- |
|
| 336 |
-# Number of spaces of indent required inside a hanging or continued line. |
|
| 337 |
-indent-after-paren=4 |
|
| 338 |
- |
|
| 339 |
-# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 |
|
| 340 |
-# tab). |
|
| 341 |
-indent-string=' ' |
|
| 342 |
- |
|
| 343 |
-# Maximum number of characters on a single line. |
|
| 344 |
-max-line-length=100 |
|
| 345 |
- |
|
| 346 |
-# Maximum number of lines in a module |
|
| 347 |
-max-module-lines=1000 |
|
| 348 |
- |
|
| 349 |
-# List of optional constructs for which whitespace checking is disabled. `dict- |
|
| 350 |
-# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
|
|
| 351 |
-# `trailing-comma` allows a space between comma and closing bracket: (a, ). |
|
| 352 |
-# `empty-line` allows space-only lines. |
|
| 353 |
-no-space-check=trailing-comma, |
|
| 354 |
- dict-separator |
|
| 355 |
- |
|
| 356 |
-# Allow the body of a class to be on the same line as the declaration if body |
|
| 357 |
-# contains single statement. |
|
| 358 |
-single-line-class-stmt=no |
|
| 359 |
- |
|
| 360 |
-# Allow the body of an if to be on the same line as the test if there is no |
|
| 361 |
-# else. |
|
| 362 |
-single-line-if-stmt=no |
|
| 363 |
- |
|
| 364 |
- |
|
| 365 |
-[TYPECHECK] |
|
| 366 |
- |
|
| 367 |
-# List of decorators that produce context managers, such as |
|
| 368 |
-# contextlib.contextmanager. Add to this list to register other decorators that |
|
| 369 |
-# produce valid context managers. |
|
| 370 |
-contextmanager-decorators=contextlib.contextmanager |
|
| 371 |
- |
|
| 372 |
-# List of members which are set dynamically and missed by pylint inference |
|
| 373 |
-# system, and so shouldn't trigger E1101 when accessed. Python regular |
|
| 374 |
-# expressions are accepted. |
|
| 375 |
-generated-members= |
|
| 376 |
- |
|
| 377 |
-# Tells whether missing members accessed in mixin class should be ignored. A |
|
| 378 |
-# mixin class is detected if its name ends with "mixin" (case insensitive). |
|
| 379 |
-ignore-mixin-members=yes |
|
| 380 |
- |
|
| 381 |
-# This flag controls whether pylint should warn about no-member and similar |
|
| 382 |
-# checks whenever an opaque object is returned when inferring. The inference |
|
| 383 |
-# can return multiple potential results while evaluating a Python object, but |
|
| 384 |
-# some branches might not be evaluated, which results in partial inference. In |
|
| 385 |
-# that case, it might be useful to still emit no-member and other checks for |
|
| 386 |
-# the rest of the inferred objects. |
|
| 387 |
-ignore-on-opaque-inference=yes |
|
| 388 |
- |
|
| 389 |
-# List of class names for which member attributes should not be checked (useful |
|
| 390 |
-# for classes with dynamically set attributes). This supports the use of |
|
| 391 |
-# qualified names. |
|
| 392 |
-ignored-classes=optparse.Values,thread._local,_thread._local |
|
| 393 |
- |
|
| 394 |
-# List of module names for which member attributes should not be checked |
|
| 395 |
-# (useful for modules/projects where namespaces are manipulated during runtime |
|
| 396 |
-# and thus existing member attributes cannot be deduced by static analysis. It |
|
| 397 |
-# supports qualified module names, as well as Unix pattern matching. |
|
| 1 |
+[MAIN] |
|
| 398 | 2 |
ignored-modules=uproctrace.uproctrace_pb2 |
| 399 |
- |
|
| 400 |
-# Show a hint with possible names when a member name was not found. The aspect |
|
| 401 |
-# of finding the hint is based on edit distance. |
|
| 402 |
-missing-member-hint=yes |
|
| 403 |
- |
|
| 404 |
-# The minimum edit distance a name should have in order to be considered a |
|
| 405 |
-# similar match for a missing member name. |
|
| 406 |
-missing-member-hint-distance=1 |
|
| 407 |
- |
|
| 408 |
-# The total number of similar names that should be taken in consideration when |
|
| 409 |
-# showing a hint for a missing member. |
|
| 410 |
-missing-member-max-choices=1 |
|
| 411 |
- |
|
| 412 |
- |
|
| 413 |
-[LOGGING] |
|
| 414 |
- |
|
| 415 |
-# Logging modules to check that the string format arguments are in logging |
|
| 416 |
-# function parameter format |
|
| 417 |
-logging-modules=logging |
|
| 418 |
- |
|
| 419 |
- |
|
| 420 |
-[VARIABLES] |
|
| 421 |
- |
|
| 422 |
-# List of additional names supposed to be defined in builtins. Remember that |
|
| 423 |
-# you should avoid to define new builtins when possible. |
|
| 424 |
-additional-builtins= |
|
| 425 |
- |
|
| 426 |
-# Tells whether unused global variables should be treated as a violation. |
|
| 427 |
-allow-global-unused-variables=yes |
|
| 428 |
- |
|
| 429 |
-# List of strings which can identify a callback function by name. A callback |
|
| 430 |
-# name must start or end with one of those strings. |
|
| 431 |
-callbacks=cb_, |
|
| 432 |
- _cb |
|
| 433 |
- |
|
| 434 |
-# A regular expression matching the name of dummy variables (i.e. expectedly |
|
| 435 |
-# not used). |
|
| 436 |
-dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_ |
|
| 437 |
- |
|
| 438 |
-# Argument names that match this expression will be ignored. Default to name |
|
| 439 |
-# with leading underscore |
|
| 440 |
-ignored-argument-names=_.*|^ignored_|^unused_ |
|
| 441 |
- |
|
| 442 |
-# Tells whether we should check for unused import in __init__ files. |
|
| 443 |
-init-import=no |
|
| 444 |
- |
|
| 445 |
-# List of qualified module names which can have objects that can redefine |
|
| 446 |
-# builtins. |
|
| 447 |
-redefining-builtins-modules=six.moves,past.builtins,future.builtins,io,builtins |
|
| 448 |
- |
|
| 449 |
- |
|
| 450 |
-[MISCELLANEOUS] |
|
| 451 |
- |
|
| 452 |
-# List of note tags to take in consideration, separated by a comma. |
|
| 453 |
-notes=FIXME, |
|
| 454 |
- XXX, |
|
| 455 |
- TODO |
|
| 456 |
- |
|
| 457 |
- |
|
| 458 |
-[CLASSES] |
|
| 459 |
- |
|
| 460 |
-# List of method names used to declare (i.e. assign) instance attributes. |
|
| 461 |
-defining-attr-methods=__init__, |
|
| 462 |
- __new__, |
|
| 463 |
- setUp |
|
| 464 |
- |
|
| 465 |
-# List of member names, which should be excluded from the protected access |
|
| 466 |
-# warning. |
|
| 467 |
-exclude-protected=_asdict, |
|
| 468 |
- _fields, |
|
| 469 |
- _replace, |
|
| 470 |
- _source, |
|
| 471 |
- _make |
|
| 472 |
- |
|
| 473 |
-# List of valid names for the first argument in a class method. |
|
| 474 |
-valid-classmethod-first-arg=cls |
|
| 475 |
- |
|
| 476 |
-# List of valid names for the first argument in a metaclass class method. |
|
| 477 |
-valid-metaclass-classmethod-first-arg=mcs |
|
| 478 |
- |
|
| 479 |
- |
|
| 480 |
-[IMPORTS] |
|
| 481 |
- |
|
| 482 |
-# Allow wildcard imports from modules that define __all__. |
|
| 483 |
-allow-wildcard-with-all=no |
|
| 484 |
- |
|
| 485 |
-# Analyse import fallback blocks. This can be used to support both Python 2 and |
|
| 486 |
-# 3 compatible code, which means that the block might have code that exists |
|
| 487 |
-# only in one or another interpreter, leading to false positives when analysed. |
|
| 488 |
-analyse-fallback-blocks=no |
|
| 489 |
- |
|
| 490 |
-# Deprecated modules which should not be used, separated by a comma |
|
| 491 |
-deprecated-modules=regsub, |
|
| 492 |
- TERMIOS, |
|
| 493 |
- Bastion, |
|
| 494 |
- rexec |
|
| 495 |
- |
|
| 496 |
-# Create a graph of external dependencies in the given file (report RP0402 must |
|
| 497 |
-# not be disabled) |
|
| 498 |
-ext-import-graph= |
|
| 499 |
- |
|
| 500 |
-# Create a graph of every (i.e. internal and external) dependencies in the |
|
| 501 |
-# given file (report RP0402 must not be disabled) |
|
| 502 |
-import-graph= |
|
| 503 |
- |
|
| 504 |
-# Create a graph of internal dependencies in the given file (report RP0402 must |
|
| 505 |
-# not be disabled) |
|
| 506 |
-int-import-graph= |
|
| 507 |
- |
|
| 508 |
-# Force import order to recognize a module as part of the standard |
|
| 509 |
-# compatibility libraries. |
|
| 510 |
-known-standard-library= |
|
| 511 |
- |
|
| 512 |
-# Force import order to recognize a module as part of a third party library. |
|
| 513 |
-known-third-party=enchant |
|
| 514 |
- |
|
| 515 |
- |
|
| 516 |
-[DESIGN] |
|
| 517 |
- |
|
| 518 |
-# Maximum number of arguments for function / method |
|
| 519 |
-max-args=5 |
|
| 520 |
- |
|
| 521 |
-# Maximum number of attributes for a class (see R0902). |
|
| 522 |
-max-attributes=7 |
|
| 523 |
- |
|
| 524 |
-# Maximum number of boolean expressions in a if statement |
|
| 525 |
-max-bool-expr=5 |
|
| 526 |
- |
|
| 527 |
-# Maximum number of branch for function / method body |
|
| 528 |
-max-branches=12 |
|
| 529 |
- |
|
| 530 |
-# Maximum number of locals for function / method body |
|
| 531 |
-max-locals=15 |
|
| 532 |
- |
|
| 533 |
-# Maximum number of parents for a class (see R0901). |
|
| 534 |
-max-parents=7 |
|
| 535 |
- |
|
| 536 |
-# Maximum number of public methods for a class (see R0904). |
|
| 537 |
-max-public-methods=20 |
|
| 538 |
- |
|
| 539 |
-# Maximum number of return / yield for function / method body |
|
| 540 |
-max-returns=6 |
|
| 541 |
- |
|
| 542 |
-# Maximum number of statements in function / method body |
|
| 543 |
-max-statements=50 |
|
| 544 |
- |
|
| 545 |
-# Minimum number of public methods for a class (see R0903). |
|
| 546 |
-min-public-methods=2 |
|
| 547 |
- |
|
| 548 |
- |
|
| 549 |
-[EXCEPTIONS] |
|
| 550 |
- |
|
| 551 |
-# Exceptions that will emit a warning when being caught. Defaults to |
|
| 552 |
-# "Exception" |
|
| 553 |
-overgeneral-exceptions=Exception |
|
| 3 |
+ignore-patterns=.*_pb2\.py |
|
| 4 |
+[MESSAGES CONTROL] |
|
| 5 |
+disable=invalid-name |
| ... | ... |
@@ -22,7 +22,7 @@ ls -l trace.upt |
| 22 | 22 |
|
| 23 | 23 |
upt-tool trace.upt dump | tee out.dump |
| 24 | 24 |
grep -A 1 '^ *cmdline {$' out.dump | grep '^ *s: "mkdir"$'
|
| 25 |
-grep '^ *s: "proc_begin.c"$' out.dump |
|
| 25 |
+grep '^ *s: "\(/\S*/\)\?proc_begin.c"$' out.dump |
|
| 26 | 26 |
grep '^ *s: "libuptpl.so"$' out.dump |
| 27 | 27 |
|
| 28 | 28 |
upt-tool trace.upt pstree |
| 29 | 29 |