• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:long +full:- +full:file +full:- +full:names

1 # This Pylint rcfile contains a best-effort configuration to uphold the
2 # best-practices and style described in the Google Python style guide:
5 # Its canonical open-source location is:
10 # Files or directories to be skipped. They should be base names, not paths.
14 # matches against base names, not paths.
15 ignore-patterns=
20 # List of plugins (as comma separated values of python modules names) to load,
22 load-plugins=
29 unsafe-load-any-extension=no
40 # multiple time (only on the command line, not in the configuration file where
41 # it should appear only once). See also the "--disable" option for examples.
47 # file where it should appear only once).You can also use "--disable=all" to
49 # you want to run only the similarities checker, you can use "--disable=all
50 # --enable=similarities". If you want to run only the classes checker, but have
51 # no Warning level messages displayed, use"--disable=all --enable=classes
52 # --disable=W"
53 disable=abstract-method,
54 apply-builtin,
55 arguments-differ,
56 attribute-defined-outside-init,
58 bad-option-value,
59 basestring-builtin,
60 buffer-builtin,
61 c-extension-no-member,
62 consider-using-enumerate,
63 cmp-builtin,
64 cmp-method,
65 coerce-builtin,
66 coerce-method,
67 delslice-method,
68 div-method,
69 duplicate-code,
70 eq-without-hash,
71 execfile-builtin,
72 file-builtin,
73 filter-builtin-not-iterating,
75 getslice-method,
76 global-statement,
77 hex-method,
78 idiv-method,
79 implicit-str-concat-in-sequence,
80 import-error,
81 import-self,
82 import-star-module-level,
83 inconsistent-return-statements,
84 input-builtin,
85 intern-builtin,
86 invalid-str-codec,
87 locally-disabled,
88 long-builtin,
89 long-suffix,
90 map-builtin-not-iterating,
91 misplaced-comparison-constant,
92 missing-function-docstring,
93 metaclass-assignment,
94 next-method-called,
95 next-method-defined,
96 no-absolute-import,
97 no-else-break,
98 no-else-continue,
99 no-else-raise,
100 no-else-return,
101 no-init, # added
102 no-member,
103 no-name-in-module,
104 no-self-use,
105 nonzero-method,
106 oct-method,
107 old-division,
108 old-ne-operator,
109 old-octal-literal,
110 old-raise-syntax,
111 parameter-unpacking,
112 print-statement,
113 raising-string,
114 range-builtin-not-iterating,
115 raw_input-builtin,
116 rdiv-method,
117 reduce-builtin,
118 relative-import,
119 reload-builtin,
120 round-builtin,
121 setslice-method,
122 signature-differs,
123 standarderror-builtin,
124 suppressed-message,
125 sys-max-int,
126 too-few-public-methods,
127 too-many-ancestors,
128 too-many-arguments,
129 too-many-boolean-expressions,
130 too-many-branches,
131 too-many-instance-attributes,
132 too-many-locals,
133 too-many-nested-blocks,
134 too-many-public-methods,
135 too-many-return-statements,
136 too-many-statements,
137 trailing-newlines,
138 unichr-builtin,
139 unicode-builtin,
140 unnecessary-pass,
141 unpacking-in-except,
142 useless-else-on-loop,
143 useless-object-inheritance,
144 useless-suppression,
145 using-cmp-argument,
146 wrong-import-order,
147 xrange-builtin,
148 zip-builtin-not-iterating,
156 output-format=text
158 # Put messages in a separate file for each module / package specified on the
160 # written in a file name "pylint_global.[txt|html]". This option is deprecated
162 files-output=no
172 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
174 # Template used to display messages. This is a python new-style format string
176 #msg-template=
181 # Good variable names which should always be accepted, separated by a comma
182 good-names=main,_,PRESUBMIT
184 # Bad variable names which should always be refused, separated by a comma
185 bad-names=
187 # Colon-delimited sets of names that determine each other's naming style when
189 name-group=
191 # Include a hint for the correct naming format with invalid-name
192 include-naming-hint=no
196 property-classes=abc.abstractproperty,cached_property.cached_property,cached_property.threaded_cach…
198 # Regular expression matching correct function names
199 function-rgx=^(?:(?P<exempt>setUp|tearDown|setUpModule|tearDownModule)|(?P<camel_case>_?[A-Z][a-zA-
201 # Regular expression matching correct variable names
202 variable-rgx=^[a-z][a-z0-9_]*$
204 # Regular expression matching correct constant names
205 const-rgx=^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$
207 # Regular expression matching correct attribute names
208 attr-rgx=^_{0,2}[a-z][a-z0-9_]*$
210 # Regular expression matching correct argument names
211 argument-rgx=^[a-z][a-z0-9_]*$
213 # Regular expression matching correct class attribute names
214 class-attribute-rgx=^(_?[A-Z][A-Z0-9_]*|__[a-z0-9_]+__|_?[a-z][a-z0-9_]*)$
216 # Regular expression matching correct inline iteration names
217 inlinevar-rgx=^[a-z][a-z0-9_]*$
219 # Regular expression matching correct class names
220 class-rgx=^_?[A-Z][a-zA-Z0-9]*$
222 # Regular expression matching correct module names
223 module-rgx=^(_?[a-z][a-z0-9_]*|__init__)$
225 # Regular expression matching correct method names
226-rgx=(?x)^(?:(?P<exempt>_[a-z0-9_]+__|runTest|setUp|tearDown|setUpTestCase|tearDownTestCase|setupS…
228 # Regular expression which should only match function or class names that do
230 no-docstring-rgx=(__.*__|main|test.*|.*test|.*Test)$
234 docstring-min-length=10
242 contextmanager-decorators=contextlib.contextmanager,contextlib2.contextmanager
246 ignore-mixin-members=yes
248 # List of module names for which member attributes should not be checked
251 # supports qualified module names, as well as Unix pattern matching.
252 ignored-modules=
254 # List of class names for which member attributes should not be checked (useful
256 # qualified names.
257 ignored-classes=optparse.Values,thread._local,_thread._local
262 generated-members=
268 max-line-length=80
271 # lines made too long by directives to pytype.
274 ignore-long-lines=(?x)(
280 single-line-if-stmt=yes
282 # List of optional constructs for which whitespace checking is disabled. `dict-
284 # `trailing-comma` allows a space between comma and closing bracket: (a, ).
285 # `empty-line` allows space-only lines.
286 no-space-check=
289 max-module-lines=99999
292 # spaces. Google's externaly-published style guide says 4, consistent with
293 # PEP 8. Here, we use 2 spaces, for conformity with many open-sourced Google
295 indent-string=' '
298 indent-after-paren=4
301 expected-line-ending-format=
312 # This flag controls whether inconsistent-quotes generates a warning when the
314 check-quote-consistency=yes
320 init-import=no
324 dummy-variables-rgx=^\*{0,2}(_$|unused_|dummy_)
326 # List of additional names supposed to be defined in builtins. Remember that
328 additional-builtins=
334 # List of qualified module names which can have objects that can redefine
336 redefining-builtins-modules=six,six.moves,past.builtins,future.builtins,functools
343 logging-modules=logging,absl.logging,tensorflow.io.logging
349 min-similarity-lines=4
352 ignore-comments=yes
355 ignore-docstrings=yes
358 ignore-imports=no
364 # install python-enchant package.
365 spelling-dict=
368 spelling-ignore-words=
370 # A path to a file that contains private dictionary; one word per line.
371 spelling-private-dict-file=
374 # --spelling-private-dict-file option instead of raising a message.
375 spelling-store-unknown-words=no
381 deprecated-modules=regsub,
388 # given file (report RP0402 must not be disabled)
389 import-graph=
391 # Create a graph of external dependencies in the given file (report RP0402 must
393 ext-import-graph=
395 # Create a graph of internal dependencies in the given file (report RP0402 must
397 int-import-graph=
401 known-standard-library=
404 known-third-party=enchant, absl
409 analyse-fallback-blocks=no
414 # List of method names used to declare (i.e. assign) instance attributes.
415 defining-attr-methods=__init__,
419 # List of member names, which should be excluded from the protected access
421 exclude-protected=_asdict,
427 # List of valid names for the first argument in a class method.
428 valid-classmethod-first-arg=cls,
431 # List of valid names for the first argument in a metaclass class method.
432 valid-metaclass-classmethod-first-arg=mcs
439 overgeneral-exceptions=StandardError,