mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 08:46:47 +08:00
In particular, this requires reformatting - autoroller/ - PRESUBMIT.py - infra/config/PRESUBMIT.py - get_landmines.py - download_vs_toolchain.py as well as some manual fixes. This CL is preparation to updating the autoroller so that we can roll DEPS from chromium. No-Try: True Bug: libyuv:358992053 Change-Id: I090a09c6fa61beff2427a0537bca371f0839fa3e Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/6105550 Reviewed-by: Mirko Bonadei <mbonadei@chromium.org> Reviewed-by: Jeremy Leconte <jleconte@google.com> Commit-Queue: Jeremy Leconte <jleconte@google.com>
50 lines
1.5 KiB
INI
50 lines
1.5 KiB
INI
[MESSAGES CONTROL]
|
|
|
|
# Disable the message, report, category or checker with the given id(s).
|
|
# TODO(kjellander): Reduce this list to as small as possible.
|
|
disable=I0010,I0011,bad-continuation,broad-except,duplicate-code,eval-used,exec-used,fixme,invalid-name,missing-docstring,no-init,no-member,too-few-public-methods,too-many-ancestors,too-many-arguments,too-many-branches,too-many-function-args,too-many-instance-attributes,too-many-lines,too-many-locals,too-many-public-methods,too-many-return-statements,too-many-statements
|
|
|
|
|
|
[REPORTS]
|
|
|
|
# Don't write out full reports, just messages.
|
|
reports=no
|
|
|
|
|
|
[FORMAT]
|
|
|
|
# Maximum number of characters on a single line.
|
|
max-line-length=79
|
|
|
|
# We use four spaces for indents.
|
|
indent-string=' '
|
|
|
|
[BASIC]
|
|
|
|
# List of builtins function names that should not be used, separated by a comma
|
|
bad-functions=map,filter,apply,input
|
|
|
|
# Naming style matching correct module names.
|
|
module-naming-style=snake_case
|
|
|
|
# Naming style matching correct constant names.
|
|
const-naming-style=UPPER_CASE
|
|
|
|
# Naming style matching correct class names.
|
|
class-naming-style=PascalCase
|
|
|
|
# Naming style matching correct function names.
|
|
function-naming-style=snake_case
|
|
|
|
# Regular expression matching correct method names.
|
|
method-rgx=([a-z_][a-z0-9_]{2,}|setUp|tearDown)$
|
|
|
|
# Naming style matching correct attribute names.
|
|
attr-naming-style=snake_case
|
|
|
|
# Naming style matching correct argument names.
|
|
argument-naming-style=snake_case
|
|
|
|
# Naming style matching correct variable names.
|
|
variable-naming-style=snake_case
|