Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): upgrade black to latest (24.3.0) #449

Merged
merged 1 commit into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading