Skip to content

Commit d073a01

Browse files
committed
Remove some fixmes and get rid of some debugging hooks
1 parent 4b5124a commit d073a01

File tree

2 files changed

+0
-74
lines changed

2 files changed

+0
-74
lines changed

scripts/pyre.sh

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -7,76 +7,5 @@
77

88
set -eux
99

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-
8110
pyre --version
8211
pyre --noninteractive check

torchx/examples/apps/lightning/data.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ def __len__(self) -> int:
6464
# our trainer and other components that need to load data.
6565

6666

67-
# pyre-fixme[13]: Attribute `test_ds` is never initialized.
68-
# pyre-fixme[13]: Attribute `train_ds` is never initialized.
69-
# pyre-fixme[13]: Attribute `val_ds` is never initialized.
7067
class TinyImageNetDataModule(pl.LightningDataModule):
7168
"""
7269
TinyImageNetDataModule is a pytorch LightningDataModule for the tiny

0 commit comments

Comments
 (0)