Skip to content

Commit 5326850

Browse files
authored
Switch from black to ruff (#2306)
See https://docs.astral.sh/ruff/formatter/ ## Checklist - [x] I have run Talon spoken form tests - [-] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [-] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [x] I have not broken the cheatsheet
1 parent cea952a commit 5326850

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/marks/decorated_mark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def cursorless_grapheme(m) -> str:
2323
except AttributeError:
2424
# NB: This represents unknown char in Unicode. It will be translated
2525
# to "[unk]" by Cursorless extension.
26-
return "\uFFFD"
26+
return "\ufffd"
2727

2828

2929
@mod.capture(

src/private_api/private_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def cursorless_private_build_primitive_target(
3131
return PrimitiveTarget(mark, modifiers)
3232

3333
def cursorless_private_build_list_target(
34-
elements: list[Union[PrimitiveTarget, RangeTarget]]
34+
elements: list[Union[PrimitiveTarget, RangeTarget]],
3535
) -> Union[PrimitiveTarget, ListTarget]:
3636
"""Cursorless private api low-level target builder: Create a list target"""
3737
if len(elements) == 1:

0 commit comments

Comments
 (0)