Skip to content

Commit

Permalink
build(deps): upgrade black to latest (24.3.0)
Browse files Browse the repository at this point in the history
Fixes #442
  • Loading branch information
tombh committed Apr 26, 2024
1 parent 5831c1f commit 3a51d4f
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 31 deletions.
50 changes: 25 additions & 25 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ ruff = ">=0.1.6"
# TODO `poethepoet>=0.20` needs python 3.8
poethepoet = ">=0.24.4"
mypy = ">=1.7.1"
# TODO `black>=23` needs python 3.8
black = ">=23.11.0"
black = "^24.4.1"

[tool.poetry.group.test.dependencies]
# Note: `coverage` requires that your Python was built with system `sqlite` development files
Expand Down
1 change: 1 addition & 0 deletions scripts/generate_client.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Script to automatically generate a lanaguge client from `lsprotocol` type definitons
"""

import argparse
import inspect
import pathlib
Expand Down
1 change: 1 addition & 0 deletions tests/_init_server_stall_fix_hack.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
fix to actually guarantee it doesn't generate false negatives in the test
suite.
"""

import os
import concurrent

Expand Down
6 changes: 2 additions & 4 deletions tests/ls_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ class PyodideTestTransportAdapter:
def __init__(self, dest: LanguageServer):
self.dest = dest

def close(self):
...
def close(self): ...

def write(self, data):
object_hook = self.dest.lsp._deserialize_message
Expand All @@ -84,8 +83,7 @@ def __init__(self, LS=LanguageServer):
def start(self):
self.initialize()

def stop(self):
...
def stop(self): ...

@classmethod
def decorate(cls):
Expand Down
1 change: 1 addition & 0 deletions tests/servers/invalid_json.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This server does nothing but print invalid JSON."""

import asyncio
import threading
import sys
Expand Down
1 change: 1 addition & 0 deletions tests/servers/large_response.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""This server returns a particuarly large response."""

import asyncio
import threading
import sys
Expand Down

0 comments on commit 3a51d4f

Please sign in to comment.