Skip to content
This repository was archived by the owner on Mar 27, 2019. It is now read-only.

Commit 2f4f976

Browse files
committed
remove unused x-def related methods, distracting for now
1 parent e1ddfb3 commit 2f4f976

File tree

2 files changed

+0
-34
lines changed

2 files changed

+0
-34
lines changed

langserver/clone_workspace.py

-29
Original file line numberDiff line numberDiff line change
@@ -92,35 +92,6 @@ def get_module_info(self, raw_jedi_module_path):
9292

9393
return (ModuleKind.UNKNOWN, module_path)
9494

95-
def get_package_information(self):
96-
project_packages = self.project_packages()
97-
dependencies = self.external_dependencies()
98-
99-
out = []
100-
for package in project_packages:
101-
out.append({
102-
"package": {
103-
"name": package
104-
},
105-
"dependencies": dependencies
106-
})
107-
return out
108-
109-
@lru_cache()
110-
def project_packages(self):
111-
'''
112-
Provides a list of all packages declared in the project
113-
'''
114-
script = [
115-
"import json",
116-
"import setuptools",
117-
"pkgs = setuptools.find_packages()",
118-
"print(json.dumps(pkgs))"
119-
]
120-
121-
c = self.run_command("python -c '{}'".format(";".join(script)))
122-
return json.loads(c.out)
123-
12495
def external_dependencies(self):
12596
'''
12697
Provides a list of third party packages that the

test/.cache/v/cache/lastfailed

-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
"test_dep_versioning.py::TestDependencyVersioning::()::test_dep_download_specified_version[test_data1]": true,
66
"test_dep_versioning.py::TestDependencyVersioning::()::test_dep_download_specified_version[test_data2]": true,
77
"test_dep_versioning.py::TestDependencyVersioning::()::test_dep_download_specified_version[test_data3]": true,
8-
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_cross_package_definition": true,
9-
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_cross_package_import_definition": true,
10-
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_local_defintion": true,
11-
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_local_package_cross_module_definition": true,
12-
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_local_package_cross_module_import_definition": true,
138
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_local_references": true,
149
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_std_lib_definition": true,
1510
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_x_references": true,

0 commit comments

Comments
 (0)