Home
last modified time | relevance | path

Searched full:pylint (Results 1 – 25 of 2794) sorted by relevance

12345678910>>...112

/external/bazelbuild-rules_python/examples/bzlmod/
Dgazelle_python.yaml259 pylint: pylint
260 pylint.checkers: pylint
261 pylint.checkers.async: pylint
262 pylint.checkers.base: pylint
263 pylint.checkers.base.basic_checker: pylint
264 pylint.checkers.base.basic_error_checker: pylint
265 pylint.checkers.base.comparison_checker: pylint
266 pylint.checkers.base.docstring_checker: pylint
267 pylint.checkers.base.name_checker: pylint
268 pylint.checkers.base.name_checker.checker: pylint
[all …]
/external/bazelbuild-rules_python/examples/bzlmod_build_file_generation/
Dgazelle_python.yaml260 pylint: pylint
261 pylint.checkers: pylint
262 pylint.checkers.async: pylint
263 pylint.checkers.base: pylint
264 pylint.checkers.base.basic_checker: pylint
265 pylint.checkers.base.basic_error_checker: pylint
266 pylint.checkers.base.comparison_checker: pylint
267 pylint.checkers.base.docstring_checker: pylint
268 pylint.checkers.base.name_checker: pylint
269 pylint.checkers.base.name_checker.checker: pylint
[all …]
/external/tensorflow/tensorflow/python/ops/risc/
Drisc_grad.py22 # pylint: disable=unused-argument
29 # pylint: disable=unused-argument
36 # pylint: disable=unused-argument
43 # pylint: disable=unused-argument
50 # pylint: disable=unused-argument
57 # pylint: disable=unused-argument
64 # pylint: disable=unused-argument
71 # pylint: disable=unused-argument
78 # pylint: disable=unused-argument
85 # pylint: disable=unused-argument
[all …]
/external/autotest/utils/
Drun_pylint.py4 # # Third party dependencies. These are only listed because pylint itself needs
48 # # Pylint dependencies.
56 # name: "infra/python/wheels/pylint-py2_py3"
62 Wrapper to patch pylint library functions to suit autotest.
65 files. It runs pylint on a list of files that it obtains either through
85 # Do a basic check to see if pylint is even installed.
87 import pylint
88 from pylint import __version__ as pylint_version
90 print ("Unable to import pylint, it may need to be installed."
91 " Run 'sudo aptitude install pylint' if you haven't already.")
[all …]
/external/tensorflow/tensorflow/python/ops/
Dcontrol_flow_grad.py26 # pylint: disable=wildcard-import,undefined-variable,redefined-builtin
28 # pylint: enable=wildcard-import
39 # pylint: disable=protected-access
42 # pylint: enable=protected-access
51 # pylint: disable=protected-access
54 # pylint: enable=protected-access
96 # pylint: disable=protected-access
99 # pylint: enable=protected-access
101 # pylint: disable=protected-access
103 # pylint: enable=protected-access
[all …]
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dmath_test.py31 from tensorflow.python.ops import tensor_array_grad # pylint: disable=unused-import
50 # pylint: disable=cell-var-from-loop
67 # pylint: enable=cell-var-from-loop
142 # pylint: disable=cell-var-from-loop
146 # pylint: enable=cell-var-from-loop
214 # pylint: disable=cell-var-from-loop
223 # pylint: enable=cell-var-from-loop
297 # pylint: disable=cell-var-from-loop
303 # pylint: enable=cell-var-from-loop
322 # pylint: disable=cell-var-from-loop
[all …]
/external/yapf/yapf/yapflib/
Dsubtype_assigner.py63 def Visit_dictsetmaker(self, node): # pylint: disable=invalid-name
105 def Visit_expr_stmt(self, node): # pylint: disable=invalid-name
113 def Visit_or_test(self, node): # pylint: disable=invalid-name
120 def Visit_and_test(self, node): # pylint: disable=invalid-name
127 def Visit_not_test(self, node): # pylint: disable=invalid-name
134 def Visit_comparison(self, node): # pylint: disable=invalid-name
146 def Visit_star_expr(self, node): # pylint: disable=invalid-name
154 def Visit_expr(self, node): # pylint: disable=invalid-name
161 def Visit_xor_expr(self, node): # pylint: disable=invalid-name
168 def Visit_and_expr(self, node): # pylint: disable=invalid-name
[all …]
Dpytree_unwrapper.py129 # pylint: disable=invalid-name,missing-docstring
175 def Visit_if_stmt(self, node): # pylint: disable=invalid-name
180 def Visit_while_stmt(self, node): # pylint: disable=invalid-name
185 def Visit_for_stmt(self, node): # pylint: disable=invalid-name
190 def Visit_try_stmt(self, node): # pylint: disable=invalid-name
195 def Visit_except_clause(self, node): # pylint: disable=invalid-name
200 def Visit_funcdef(self, node): # pylint: disable=invalid-name
203 def Visit_async_funcdef(self, node): # pylint: disable=invalid-name
216 def Visit_classdef(self, node): # pylint: disable=invalid-name
219 def Visit_async_stmt(self, node): # pylint: disable=invalid-name
[all …]
Dsplit_penalty.py85 def Visit_classdef(self, node): # pylint: disable=invalid-name
97 def Visit_funcdef(self, node): # pylint: disable=invalid-name
122 def Visit_lambdef(self, node): # pylint: disable=invalid-name
129 if re.search(r'pylint:.*disable=.*\bg-long-lambda', child.value):
138 def Visit_parameters(self, node): # pylint: disable=invalid-name
148 def Visit_arglist(self, node): # pylint: disable=invalid-name
167 def Visit_argument(self, node): # pylint: disable=invalid-name
179 def Visit_tname(self, node): # pylint: disable=invalid-name
191 def Visit_dotted_name(self, node): # pylint: disable=invalid-name
199 def Visit_dictsetmaker(self, node): # pylint: disable=invalid-name
[all …]
/external/cronet/third_party/google_benchmark/src/.github/workflows/
Dpylint.yml1 name: pylint
10 pylint:
24 pip install pylint pylint-exit conan
26 - name: Run pylint
28 pylint `find . -name '*.py'|xargs` || pylint-exit $?
/external/openthread/third_party/mbedtls/repo/tests/scripts/
Dcheck-python-files.sh7 # hurdles. Run pylint to detect some potential mistakes and enforce PEP8
33 # Pylint 1.5.2 from Ubuntu 16.04 is too old:
35 # Pylint 1.8.3 from Ubuntu 18.04 passed on the first commit containing this line.
36 check_version pylint 1.8.3
49 if [ "$1" = "--can-pylint" ]; then
57 echo 'Running pylint ...'
58 $PYTHON -m pylint scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || {
59 echo >&2 "pylint reported errors"
/external/mbedtls/tests/scripts/
Dcheck-python-files.sh7 # hurdles. Run pylint to detect some potential mistakes and enforce PEP8
33 # Pylint 1.5.2 from Ubuntu 16.04 is too old:
35 # Pylint 1.8.3 from Ubuntu 18.04 passed on the first commit containing this line.
36 check_version pylint 1.8.3
49 if [ "$1" = "--can-pylint" ]; then
57 echo 'Running pylint ...'
58 $PYTHON -m pylint scripts/mbedtls_dev/*.py scripts/*.py tests/scripts/*.py || {
59 echo >&2 "pylint reported errors"
/external/bazelbuild-rules_cc/tools/migration/
Dctoolchain_comparator_lib.py201 print(diff_string) # pylint: disable=superfluous-parens
208 print(diff_string) # pylint: disable=superfluous-parens
218 print(diff_string) # pylint: disable=superfluous-parens
230 print(diff_string) # pylint: disable=superfluous-parens
237 print("") # pylint: disable=superfluous-parens
260 print(diff_string) # pylint: disable=superfluous-parens
267 print(diff_string) # pylint: disable=superfluous-parens
277 print(diff_string) # pylint: disable=superfluous-parens
289 print(diff_string) # pylint: disable=superfluous-parens
296 print("") # pylint: disable=superfluous-parens
[all …]
/external/tensorflow/tensorflow/python/util/
Dtf_inspect.py42 FullArgSpec = _inspect.FullArgSpec # pylint: disable=invalid-name
63 _getfullargspec = _inspect.getfullargspec # pylint: disable=invalid-name
310 def getdoc(object): # pylint: disable=redefined-builtin
325 def getfile(object): # pylint: disable=redefined-builtin
339 def getmembers(object, predicate=None): # pylint: disable=redefined-builtin
344 def getmodule(object): # pylint: disable=redefined-builtin
354 def getsource(object): # pylint: disable=redefined-builtin
359 def getsourcefile(object): # pylint: disable=redefined-builtin
364 def getsourcelines(object): # pylint: disable=redefined-builtin
369 def isbuiltin(object): # pylint: disable=redefined-builtin
[all …]
/external/tensorflow/tensorflow/python/keras/saving/saved_model/
Dsave_impl.py53 # pylint:disable=g-inconsistent-quotes
68 # pylint:enable=g-inconsistent-quotes
74 … layer._saved_model_inputs_spec is not None) # pylint: disable=protected-access
98 all_losses = layer._callable_losses[:] # pylint: disable=protected-access
100 all_losses.extend(child_layer._callable_losses) # pylint: disable=protected-access
113 for fn in layer._callable_losses[:]] # pylint: disable=protected-access
116 {m.name: m for m in layer._metrics}) # pylint: disable=protected-access
130 # pylint: disable=protected-access
180 if layer._activity_regularizer is not None: # pylint: disable=protected-access
245 # pylint: disable=protected-access
[all …]
/external/tensorflow/tensorflow/python/distribute/
Destimator_training.py27 # pylint: disable=protected-access
33 # pylint: enable=protected-access
89 # pylint: disable=protected-access
125 # pylint: disable=protected-access
179 # pylint: disable=protected-access
213 if not run_config._distribute_coordinator_mode: # pylint: disable=protected-access
220 # pylint: disable=protected-access
226 # pylint: enable=protected-access
235 if (run_config._distribute_coordinator_mode == # pylint: disable=protected-access
244 local_estimator._config._distribute_coordinator_mode = None # pylint: disable=protected-access
[all …]
Dvalues_util.py50 …if options.experimental_variable_policy._expand_distributed_variables( # pylint: disable=protecte…
83 packed_var = var._packed_variable # pylint: disable=protected-access
101 return var._get_cross_replica() # pylint: disable=protected-access
136 return var._update( # pylint: disable=protected-access
147 return var._update( # pylint: disable=protected-access
158 return var._update( # pylint: disable=protected-access
168 if var._packed_variable is not None: # pylint: disable=protected-access
171 …assign_func(d, var._packed_variable, value) for d in var._devices)) # pylint: disable=protected-a…
174 … tuple(assign_func(v.device, v, value) for v in var._values)) # pylint: disable=protected-access
214 strategy = var._distribute_strategy # pylint: disable=protected-access
[all …]
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_inspect.py27 FullArgSpec = _inspect.FullArgSpec # pylint: disable=invalid-name
48 _getfullargspec = _inspect.getfullargspec # pylint: disable=invalid-name
296 def getdoc(object): # pylint: disable=redefined-builtin
311 def getfile(object): # pylint: disable=redefined-builtin
325 def getmembers(object, predicate=None): # pylint: disable=redefined-builtin
330 def getmodule(object): # pylint: disable=redefined-builtin
340 def getsource(object): # pylint: disable=redefined-builtin
345 def getsourcefile(object): # pylint: disable=redefined-builtin
350 def getsourcelines(object): # pylint: disable=redefined-builtin
355 def isbuiltin(object): # pylint: disable=redefined-builtin
[all …]
/external/chromium-trace/catapult/systrace/profile_chrome/
Dfake_agent_2.py19 # pylint: disable=unused-argument
24 # pylint: disable=unused-argument
29 # pylint: disable=unused-argument
40 # pylint: disable=no-self-use
44 # pylint: disable=unused-argument, no-self-use
58 # pylint: disable=unused-argument
66 # pylint: disable=unused-argument
/external/autotest/server/hosts/
Dcros_repair.py141 # pylint: disable=missing-docstring
232 # pylint: disable=missing-docstring
284 # pylint: disable=missing-docstring
314 # pylint: disable=missing-docstring
324 # pylint: disable=missing-docstring
335 # pylint: disable=missing-docstring
357 # pylint: disable=missing-docstring
377 # pylint: disable=missing-docstring
386 # pylint: disable=missing-docstring
395 # pylint: disable=missing-docstring
[all …]
/external/chromium-trace/catapult/devil/devil/android/perf/
Dperf_control_test.py16 # pylint: disable=unused-argument
41 # pylint: disable=protected-access
47 # pylint: disable=no-self-use
61 # pylint: disable=protected-access
62 # pylint: disable=no-member
84 # pylint: disable=protected-access
85 # pylint: disable=no-member
107 # pylint: disable=protected-access
108 # pylint: disable=no-member
/external/private-join-and-compute/private_join_and_compute/py/crypto_util/
Delliptic_curve.py59 # pylint: disable=protected-access
63 # pylint: enable=protected-access
85 # pylint: disable=protected-access
93 # pylint: enable=protected-access
128 # pylint: disable=protected-access
142 # pylint: enable=protected-access
147 # pylint: disable=protected-access
151 # pylint: enable=protected-access
160 # pylint: disable=protected-access
164 # pylint: enable=protected-access
[all …]
/external/oss-fuzz/infra/cifuzz/
Dclusterfuzz_deployment.py29 # pylint: disable=wrong-import-position,import-error
66 …def upload_corpus(self, target_name, corpus_dir, replace=False): # pylint: disable=no-self-use,un…
125 except Exception as err: # pylint: disable=broad-except
139 except Exception as err: # pylint: disable=broad-except
147 def _get_corpus_name(self, target_name): # pylint: disable=no-self-use
151 def _get_crashes_artifact_name(self): # pylint: disable=no-self-use
162 except Exception as error: # pylint: disable=broad-except
174 except Exception as error: # pylint: disable=broad-except
191 except Exception as error: # pylint: disable=broad-except
271 def upload_build(self, commit): # pylint: disable=no-self-use
[all …]
/external/tensorflow/tensorflow/
Dapi_template_v1.__init__.py24 # pylint: disable=g-bad-import-order
25 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
34 if "dev" in __version__: # pylint: disable=undefined-variable
52 _API_MODULE = _sys.modules[__name__].bitwise # pylint: disable=undefined-variable
64 _current_module.compat.v2 # pylint: disable=pointless-statement
67 # pylint: disable=g-import-not-at-top
71 # pylint: enable=g-import-not-at-top
89 from tensorflow.python.util.lazy_loader import LazyLoader # pylint: disable=g-import-not-at-top
107 from tensorflow.python.platform import flags # pylint: disable=g-import-not-at-top
109 _current_module.app.flags = flags # pylint: disable=undefined-variable
[all …]
/external/rust/crates/grpcio-sys/grpc/
D.pylintrc-examples11 # TODO(https://github.com/PyCQA/pylint/issues/1345): How does the inspection
38 # TODO(https://github.com/PyCQA/pylint/issues/59#issuecomment-283774279):
39 # Enable cyclic-import after a 1.7-or-later pylint release that
47 # latest pylint version.
53 # work for now? Try with a later pylint?
77 # NOTE(nathaniel): Pylint and I will probably never agree on this.
79 # NOTE(nathaniel): Pylint and I wil probably never agree on this for
103 # TODO(https://github.com/PyCQA/pylint/issues/3882): Upgrade Pylint
105 # NOTE(rbellevi): Pylint doesn't understand .pyi files.

12345678910>>...112