|
7 | 7 |
|
8 | 8 | set -eux |
9 | 9 |
|
10 | | -ldd --version |
11 | | - |
12 | | -## HACK: run pyre binary manually to see the error |
13 | | - |
14 | | -echo '{ |
15 | | - "source_paths": { |
16 | | - "kind": "simple", |
17 | | - "paths": [ |
18 | | - "/home/runner/work/torchx/torchx/scripts", |
19 | | - "/home/runner/work/torchx/torchx" |
20 | | - ] |
21 | | - }, |
22 | | - "search_paths": [ |
23 | | - "/home/runner/work/torchx/torchx/stubs", |
24 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/python3.10/site-packages", |
25 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stdlib", |
26 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/ExifRead", |
27 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/PyMySQL", |
28 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/PyYAML", |
29 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/aiofiles", |
30 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/chevron", |
31 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/colorama", |
32 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/ldap3", |
33 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/mysqlclient", |
34 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/paramiko", |
35 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/psycopg2", |
36 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/pycurl", |
37 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/python-dateutil", |
38 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/pytz", |
39 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/regex", |
40 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/requests", |
41 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/retry", |
42 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/tqdm", |
43 | | - "/opt/hostedtoolcache/Python/3.10.15/x64/lib/pyre_check/typeshed/stubs/ujson" |
44 | | - ], |
45 | | - "excludes": [ |
46 | | - ".*/build/.*", |
47 | | - ".*/docs/.*", |
48 | | - ".*/setup.py", |
49 | | - ".*/IPython/core/tests/nonascii.*", |
50 | | - ".*/torchx/examples/apps/compute_world_size/.*" |
51 | | - ], |
52 | | - "checked_directory_allowlist": [ |
53 | | - "/home/runner/work/torchx/torchx", |
54 | | - "/home/runner/work/torchx/torchx/scripts" |
55 | | - ], |
56 | | - "checked_directory_blocklist": [ |
57 | | - "/home/runner/work/torchx/torchx/stubs" |
58 | | - ], |
59 | | - "extensions": [], |
60 | | - "log_path": "/home/runner/work/torchx/torchx/.pyre", |
61 | | - "global_root": "/home/runner/work/torchx/torchx", |
62 | | - "debug": false, |
63 | | - "python_version": { |
64 | | - "major": 3, |
65 | | - "minor": 10, |
66 | | - "micro": 15 |
67 | | - }, |
68 | | - "system_platform": "linux", |
69 | | - "shared_memory": {}, |
70 | | - "parallel": true, |
71 | | - "number_of_workers": 1, |
72 | | - "additional_logging_sections": [ |
73 | | - "-progress" |
74 | | - ], |
75 | | - "show_error_traces": false, |
76 | | - "strict": true |
77 | | -}' >/tmp/pyre_arguments |
78 | | - |
79 | | -/opt/hostedtoolcache/Python/3.10.15/x64/bin/pyre.bin check /tmp/pyre_arguments |
80 | | - |
81 | 10 | pyre --version |
82 | 11 | pyre --noninteractive check |
0 commit comments