Home
last modified time | relevance | path

Searched full:pytype (Results 1 – 25 of 105) sorted by relevance

12345

/external/cronet/testing/pytype_common/
Dpytype_runner.py91 """Runs pytype on a given list of files/directories.
98 files_to_check: Files and directories to run pytype on as absolute
101 pytype.
102 cwd: The directory that pytype should be run from.
111 print('pytype is currently only supported on Linux, see '
112 'https://github.com/google/pytype/issues/1154')
118 # Strangely, pytype won't complain if you tell it to analyze a directory
128 # pytype looks for a 'python' or 'python3' executable in PATH, so make sure
133 # pytype specifies that the provided PYTHONPATH is :-separated.
138 'pytype',
DREADME.md1 This directory contains Python code for running pytype (a Python 3 type hinting
2 analyzer) on Chromium Python code. pytype can infer types from un-annotated
9 To run pytype, simply import `pytype_runner.py` and call its `run_pytype`
14 multiple minutes. This time goes down dramatically once pytype has a cache
/external/grpc-grpc/src/python/grpcio/grpc/
D_interceptor.py85 method = call_details.method # pytype: disable=attribute-error
87 method = default_details.method # pytype: disable=attribute-error
90 timeout = call_details.timeout # pytype: disable=attribute-error
92 timeout = default_details.timeout # pytype: disable=attribute-error
95 metadata = call_details.metadata # pytype: disable=attribute-error
97 metadata = default_details.metadata # pytype: disable=attribute-error
102 ) # pytype: disable=attribute-error
106 ) # pytype: disable=attribute-error
111 ) # pytype: disable=attribute-error
115 ) # pytype: disable=attribute-error
[all …]
D_utilities.py22 import grpc # pytype: disable=pyi-error
23 from grpc import _common # pytype: disable=pyi-error
74 ) # pytype: disable=attribute-error
D_runtime_protos.py36 import grpc_tools # pylint: disable=unused-import # pytype: disable=import-error
64 import grpc_tools.protoc # pytype: disable=import-error
/external/python/python-api-core/
Dowlbot.py26 "noxfile.py", # pytype
27 "setup.cfg", # pytype
35 # Add pytype support
43 .pytype
Dsetup.cfg4 [pytype]
10 output = .pytype/
11 # Workaround for https://github.com/google/pytype/issues/150
Dnoxfile.py21 import nox # pytype: disable=import-error
38 "pytype",
161 # No 3.7 because pytype supports up to 3.6 only.
163 def pytype(session): function
165 session.install(".[grpc, grpcgcp]", "pytype >= 2019.3.21")
166 session.run("pytype")
/external/rust/crates/grpcio-sys/grpc/tools/distrib/
Dcheck_pytype.sh17 # TODO(xuanwn): update pytype version
18 python3 -m pip install pytype==2019.11.27
19 python3 -m pytype --keep-going -j "$JOBS" --strict-import --config "setup.cfg"
/external/grpc-grpc/tools/distrib/
Dcheck_pytype.sh17 # TODO(xuanwn): update pytype version
18 python3 -m pip install pytype==2019.11.27
19 python3 -m pytype --keep-going -j "$JOBS" --strict-import --config "setup.cfg"
/external/python/pyfakefs/.github/workflows/
Dtestsuite.yml7 pytype:
16 - name: install pytype
17 run: pip install setuptools pytype pytest scandir pathlib2 pandas xlrd django
18 - name: Run pytype
20 pytype pyfakefs --keep-going --exclude pyfakefs/tests/* --exclude pyfakefs/pytest_tests/*
/external/rust/crates/grpcio-sys/grpc/
Dsetup.cfg22 # NOTE(lidiz) Adding examples one by one due to pytype aggressive errer:
25 [pytype]
42 # module-attr: pytype cannot understand the namespace packages by Google.
/external/grpc-grpc/
Dsetup.cfg18 # NOTE(lidiz) Adding examples one by one due to pytype aggressive errer:
21 [pytype]
39 # module-attr: pytype cannot understand the namespace packages by Google.
/external/federated-compute/fcp/demo/
Dfederated_computation.py37 ) # pytype: disable=wrong-arg-types
46 …return tff.backends.mapreduce.get_map_reduce_form_for_computation( # pytype: disable=wrong-arg-ty…
55 …return tff.backends.mapreduce.get_distribute_aggregate_form_for_computation( # pytype: disable=wr…
/external/angle/build/fuchsia/test/
Drun_pytype.py5 """Simple helper script to run pytype on //build/fuchsia/test code."""
34 """Run pytype check."""
/external/cronet/build/fuchsia/test/
Drun_pytype.py5 """Simple helper script to run pytype on //build/fuchsia/test code."""
34 """Run pytype check."""
/external/python/pyfakefs/pyfakefs/
Dfake_pathlib.py524 return cls._from_parts(args) # pytype: disable=attribute-error
535 drv, root, parts = self._parse_args(args) # pytype: disable=attribute-error
599 ) # pytype: disable=attribute-error
627 ) as f: # pytype: disable=attribute-error
634 with FakeFileOpen(self.filesystem)( # pytype: disable=attribute-error
651 ) as f: # pytype: disable=attribute-error
676 with FakeFileOpen(self.filesystem)( # pytype: disable=attribute-error
895 RealPathlibModule.WindowsPath # pytype: disable=attribute-error
897 else RealPathlibModule.PosixPath # pytype: disable=attribute-error
900 return cls._from_parts(args) # pytype: disable=attribute-error
Dfake_open.py288 ) # pytype: disable=invalid-annotation
324 cast(AnyStr, path), # pytype: disable=invalid-annotation
326 cast(AnyStr, path), # pytype: disable=invalid-annotation
330 file_path = cast(AnyStr, file_) # pytype: disable=invalid-annotation
/external/rust/crates/grpcio-sys/grpc/summerofcode/
Dideas.md30 …bably errors in the implementation of gRPC Python that [pytype](https://github.com/google/pytype) …
/external/python/bumble/bumble/pandora/
Dutils.py24 from google.protobuf.message import Message # pytype: disable=pyi-error
54 ) # pytype: disable=attribute-error
/external/openthread/.github/workflows/
Dotci.yml70 python3 -m pip install pytype adb-shell
73 PYTHONPATH=./tests/scripts/thread-cert pytype tools/otci
/external/grpc-grpc/summerofcode/
Dideas.md30 …bably errors in the implementation of gRPC Python that [pytype](https://github.com/google/pytype) …
/external/python/google-auth-library-python/google/auth/
Dapp_engine.py31 # pytype: disable=import-error
36 # pytype: enable=import-error
/external/grpc-grpc/src/python/grpcio/grpc/aio/
D_metadata.py126 return NotImplemented # pytype: disable=bad-return-type
133 return NotImplemented # pytype: disable=bad-return-type
/external/federated-compute/fcp/artifact_building/
Dvariable_helpers.py327 path.append(selection.index) # pytype: disable=attribute-error
328 selection = selection.source # pytype: disable=attribute-error
376 for _, local_value in aggregation_comp.result.locals: # pytype: disable=attribute-error
440 for _, local_value in aggregation_comp.result.locals: # pytype: disable=attribute-error

12345