Skip to content

Commit

Permalink
Switch from black to ruff (#2306)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pokey authored and cursorless-bot committed Apr 26, 2024
1 parent 09c32bf commit 083bab7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/marks/decorated_mark.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def cursorless_grapheme(m) -> str:
except AttributeError:
# NB: This represents unknown char in Unicode. It will be translated
# to "[unk]" by Cursorless extension.
return "\uFFFD"
return "\ufffd"


@mod.capture(
Expand Down
2 changes: 1 addition & 1 deletion src/private_api/private_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def cursorless_private_build_primitive_target(
return PrimitiveTarget(mark, modifiers)

def cursorless_private_build_list_target(
elements: list[Union[PrimitiveTarget, RangeTarget]]
elements: list[Union[PrimitiveTarget, RangeTarget]],
) -> Union[PrimitiveTarget, ListTarget]:
"""Cursorless private api low-level target builder: Create a list target"""
if len(elements) == 1:
Expand Down

0 comments on commit 083bab7

Please sign in to comment.