From 2dbde795ea6f726f2eaea9aa286f67d1b046f975 Mon Sep 17 00:00:00 2001 From: Aaron Zuspan Date: Sun, 11 Aug 2024 15:30:54 -0700 Subject: [PATCH] Remove commented code and add ruff check --- pyproject.toml | 2 +- tests/test_server.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 5e6cce9..708d884 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ show-fixes = true path = "src/spinasm_lsp/__init__.py" [tool.ruff.lint] -select = [ "E", "I", "F", "B", "FA", "UP", "PT", "Q", "RET", "SIM", "PERF",] +select = [ "E", "I", "F", "B", "FA", "UP", "PT", "Q", "RET", "SIM", "PERF", "ERA"] [tool.hatch.envs.default] dependencies = [ "pre-commit",] diff --git a/tests/test_server.py b/tests/test_server.py index 5029726..e799fde 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -15,8 +15,7 @@ @pytest_lsp.fixture( - # params=["neovim", "visual_studio_code"], - params=["visual_studio_code"], + params=["neovim", "visual_studio_code"], config=ClientServerConfig(server_command=["spinasm-lsp"]), ) async def client(request, lsp_client: LanguageClient):