mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-04 02:13:01 +00:00
adding Clojure to list of disabled languages (tests appear to fail randomly)
22 lines
485 B
Python
22 lines
485 B
Python
from pathlib import Path
|
|
|
|
from solidlsp.language_servers.clojure_lsp import verify_clojure_cli
|
|
|
|
|
|
def _test_clojure_cli() -> bool:
|
|
try:
|
|
verify_clojure_cli()
|
|
return False
|
|
except (FileNotFoundError, RuntimeError):
|
|
return True
|
|
|
|
|
|
CLI_FAIL = _test_clojure_cli()
|
|
TEST_APP_PATH = Path("src") / "test_app"
|
|
CORE_PATH = str(TEST_APP_PATH / "core.clj")
|
|
UTILS_PATH = str(TEST_APP_PATH / "utils.clj")
|
|
|
|
|
|
def is_clojure_cli_available() -> bool:
|
|
return not CLI_FAIL
|