Skip to content

Tighten Talon marks type hints #1848

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

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Tighten Talon marks type hints #1848

merged 1 commit into from
Sep 15, 2023

Conversation

auscompgeek
Copy link
Member

@auscompgeek auscompgeek commented Sep 5, 2023

This removes a bunch of Anys from the Talon code related to marks.

Ref: #725

Checklist

@auscompgeek auscompgeek added code quality Improvements to code quality talon Related to cursorless-talon labels Sep 5, 2023
@auscompgeek auscompgeek requested a review from pokey as a code owner September 5, 2023 09:21
Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Assuming this one passes talon tests locally? Also worth quickly breaking something to ensure your local talon tests are actually biting, as the setup is fairly new

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow this file uses a lot of confusing terminology 😅. Your changes are strictly an improvement, though, so I'm not sure I'd change anything in this PR, but it was def tough to follow what's happening in this file. I think maybe it has lost some of its readability over the course of a couple refactors

Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍👍

Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍👍

@pokey pokey added this pull request to the merge queue Sep 15, 2023
Merged via the queue into main with commit adb0918 Sep 15, 2023
@pokey pokey deleted the auscompgeek/talon-types-mark branch September 15, 2023 14:25
cursorless-bot pushed a commit that referenced this pull request Sep 15, 2023
This removes a bunch of `Any`s from the Talon code related to marks.

Ref: #725

## Checklist

- [ ] ~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
thetomcraig-aya pushed a commit to thetomcraig/cursorless that referenced this pull request Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improvements to code quality talon Related to cursorless-talon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants