Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: tools/perf/pylintrc

Issue 2228413003: [tools/perf] Enable many more lint checks for perf directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Petr's comment Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/perf/page_sets/typical_25.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [MESSAGES CONTROL] 1 [MESSAGES CONTROL]
2 2
3 # Disable the message, report, category or checker with the given id(s). 3 # Disable the message, report, category or checker with the given id(s).
4 # TODO(perf-owners): Reduce this list to as small as possible. 4 # TODO(perf-owners): Reduce this list to as small as possible.
5 disable=I0010,I0011,abstract-class-little-used,abstract-class-not-used,anomalous -backslash-in-string,bad-builtin,bad-context-manager,bad-continuation,bad-indent ation,bad-str-strip-call,bad-whitespace,broad-except,cell-var-from-loop,deprecat ed-lambda,deprecated-module,duplicate-code,eval-used,exec-used,fixme,function-re defined,global-statement,interface-not-implemented,invalid-name,locally-enabled, logging-not-lazy,missing-docstring,missing-final-newline,no-init,no-member,no-na me-in-module,no-self-use,no-self-use,not-callable,reimported,star-args,super-on- old-class,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-statemen ts,trailing-whitespace,useless-else-on-loop 5 disable=
6 abstract-class-little-used,
7 abstract-class-not-used,
8 bad-builtin,
9 bad-continuation,
10 bad-indentation,
11 bad-whitespace,
12 broad-except,
13 eval-used,
14 fixme,
15 global-statement,
16 interface-not-implemented,
17 invalid-name,
18 locally-enabled,
19 locally-disabled,
20 logging-not-lazy,
21 missing-docstring,
22 no-member,
23 no-self-use,
24 star-args,
25 too-few-public-methods,
26 too-many-arguments,
27 too-many-branches,
28 too-many-instance-attributes,
29 too-many-locals,
30 too-many-public-methods,
31 too-many-statements,
32 too-many-return-statements
6 33
7 34
8 [REPORTS] 35 [REPORTS]
9 36
10 # Don't write out full reports, just messages. 37 # Don't write out full reports, just messages.
11 reports=no 38 reports=no
12 39
13 40
14 [VARIABLES] 41 [VARIABLES]
15 42
16 # Google style 43 # Google style
17 dummy-variables-rgx=_$|unused_ 44 dummy-variables-rgx=_$|unused_
18 45
19 46
20 [FORMAT] 47 [FORMAT]
21 48
22 # We use two spaces for indents, instead of the usual four spaces or tab. 49 # We use two spaces for indents, instead of the usual four spaces or tab.
23 indent-string=' ' 50 indent-string=' '
24 51
25 # We suppress long line check for lines that contain only the URL (with or 52 # We suppress long line check for lines that contain only the URL (with or
26 # without quote). 53 # without quote).
27 ignore-long-lines=^\s*'?https?://\S+'?$ 54 ignore-long-lines=^\s*'?https?://\S+'?$
OLDNEW
« no previous file with comments | « tools/perf/page_sets/typical_25.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698