Skip to content

Commit 3634fcd

Browse files
committed
Update pyfmt component on FBS:master (meta-pytorch#1165)
Summary: X-link: meta-pytorch/tritonbench#661 X-link: facebook/Ax#4572 X-link: facebookexternal/aepsych_prerelease#42 X-link: facebook/dotslash#89 Pull Request resolved: meta-pytorch#1165 X-link: facebookresearch/aepsych#824 X-link: meta-pytorch/botorch#3088 Differential Revision: D87671961
1 parent b0d8dbb commit 3634fcd

36 files changed

+6
-48
lines changed

docs/source/ext/fbcode.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import os
1010

1111
from docutils import nodes
12-
1312
from docutils.parsers.rst import directives
1413
from sphinx.util.docutils import SphinxDirective
1514
from sphinx.util.nodes import nested_parse_with_titles

fmt-requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# generated by `pyfmt --requirements`
2-
black==24.4.2
3-
ruff-api==0.1.0
2+
black==25.11.0
3+
ruff-api==0.2.0
44
stdlibs==2024.1.28
5-
ufmt==2.8.0
6-
usort==1.0.8.post1
5+
ufmt==2.9.0
6+
usort==1.1.0

scripts/minikube_trainer.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"""
1313

1414
from component_integration_tests import build_and_push_image
15-
1615
from integ_test_utils import getenv_asserts, MissingEnvError
1716
from torchx.components.dist import ddp as dist_ddp
1817
from torchx.runner import get_runner

torchx/cli/cmd_list.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import logging
1212

1313
from tabulate import tabulate
14-
1514
from torchx.cli.cmd_base import SubCommand
1615
from torchx.runner import get_runner
1716
from torchx.schedulers import get_default_scheduler_name, get_scheduler_factories

torchx/cli/cmd_log.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
_find_role_replicas as find_role_replicas,
2828
_prefix_line,
2929
)
30-
3130
from torchx.util.types import none_throws
3231

3332
logger: logging.Logger = logging.getLogger(__name__)

torchx/cli/cmd_tracker.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import logging
1111

1212
from tabulate import tabulate
13-
1413
from torchx.cli.cmd_base import SubCommand
1514
from torchx.runner.api import get_configured_trackers
1615
from torchx.tracker.api import build_trackers, TrackerBase

torchx/cli/test/cmd_run_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
)
3232
from torchx.runner.config import ENV_TORCHXCONFIG
3333
from torchx.schedulers.local_scheduler import SignalException
34-
3534
from torchx.specs import AppDryRunInfo, CfgVal
3635

3736

torchx/cli/test/main_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from unittest.mock import MagicMock, patch
1515

1616
from torchx.cli.argparse_util import ArgOnceAction, torchxconfig
17-
1817
from torchx.cli.cmd_base import SubCommand
1918
from torchx.cli.main import get_sub_cmds, main
2019

torchx/components/component_test_base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
from typing import Any, Callable, Dict, Optional
2626

2727
from torchx.runner import get_runner
28-
2928
from torchx.specs import AppDef, AppStatus
30-
3129
from torchx.specs.builders import _create_args_parser
3230
from torchx.specs.finder import get_component
3331

torchx/components/integration_tests/integ_tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
from torchx.components.integration_tests.component_provider import ComponentProvider
1919
from torchx.runner import get_runner
2020
from torchx.specs import AppHandle, AppState, AppStatus, CfgVal
21-
2221
from torchx.util.types import none_throws
2322

2423

0 commit comments

Comments
 (0)