From 217db6a2120c3fa8ab2b4649cc07e055eacbf5c0 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Fri, 30 Dec 2022 23:54:23 -0500 Subject: [PATCH] Bump Ruff version --- requirements-dev.txt | 5 +++-- requirements.txt | 2 +- ruff_lsp/utils.py | 3 +-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 3d73da3..10711db 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -28,13 +28,13 @@ mypy-extensions==0.4.3 # mypy pathspec==0.10.3 # via black -platformdirs==2.6.0 +platformdirs==2.6.2 # via black pygls==1.0.0 # via ruff-lsp (pyproject.toml) python-lsp-jsonrpc==1.0.0 # via ruff-lsp (pyproject.toml) -ruff==0.0.194 +ruff==0.0.204 # via ruff-lsp (pyproject.toml) tomli==2.0.1 # via @@ -52,6 +52,7 @@ typing-extensions==4.4.0 # cattrs # importlib-metadata # mypy + # platformdirs # ruff-lsp (pyproject.toml) ujson==5.6.0 # via python-lsp-jsonrpc diff --git a/requirements.txt b/requirements.txt index bbb0163..d455e56 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ lsprotocol==2022.0.0a9 # via pygls pygls==1.0.0 # via ruff-lsp (pyproject.toml) -ruff==0.0.194 +ruff==0.0.204 # via ruff-lsp (pyproject.toml) typeguard==2.13.3 # via pygls diff --git a/ruff_lsp/utils.py b/ruff_lsp/utils.py index 72c7e5b..334d43d 100644 --- a/ruff_lsp/utils.py +++ b/ruff_lsp/utils.py @@ -86,8 +86,7 @@ def run_path( result = subprocess.run( argv, encoding="utf-8", - stdout=subprocess.PIPE, - stderr=subprocess.PIPE, + capture_output=True, check=False, cwd=cwd, )