From 842d8a3ee157cbc711c3dae01303744121204093 Mon Sep 17 00:00:00 2001 From: Jia Chen Date: Tue, 19 Apr 2022 17:20:56 -0700 Subject: [PATCH] Move `find_symbols` into the `command` library Reviewed By: pradeep90 Differential Revision: D35765552 fbshipit-source-id: 4c2970bc8f70b8ff6ac40b0a022aace8250e56ac --- client/{ => commands}/find_symbols.py | 0 client/{ => commands}/tests/find_symbols_test.py | 11 ++++++----- 2 files changed, 6 insertions(+), 5 deletions(-) rename client/{ => commands}/find_symbols.py (100%) rename client/{ => commands}/tests/find_symbols_test.py (98%) diff --git a/client/find_symbols.py b/client/commands/find_symbols.py similarity index 100% rename from client/find_symbols.py rename to client/commands/find_symbols.py diff --git a/client/tests/find_symbols_test.py b/client/commands/tests/find_symbols_test.py similarity index 98% rename from client/tests/find_symbols_test.py rename to client/commands/tests/find_symbols_test.py index 598ca36bbbd..41523872ab9 100644 --- a/client/tests/find_symbols_test.py +++ b/client/commands/tests/find_symbols_test.py @@ -7,16 +7,17 @@ from typing import List import testslide -from tools.pyre.client.commands.language_server_protocol import ( + +from ..find_symbols import ( + UnparseableError, + parse_source_and_collect_symbols, +) +from ..language_server_protocol import ( DocumentSymbolsResponse, LspPosition, LspRange, SymbolKind, ) -from tools.pyre.client.find_symbols import ( - UnparseableError, - parse_source_and_collect_symbols, -) class FindSymbolTests(testslide.TestCase):