Skip to content

Conversation

@jsoref
Copy link
Contributor

@jsoref jsoref commented Oct 20, 2025

Pull Request check-list

  • Do tests and lints pass with this change?
  • Do the CI tests pass with this change (enable it first in your forked repo and wait for the github action build to finish)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Is there an example added to the examples folder (if applicable)?

Description of change

  • This addresses Spelling libvalkey-py#30 (comment) by replacing the spell checker
  • Fixes a bunch of spelling errors that check-spelling identified (some categories were disabled to make this a slightly minimal set as opposed to a much larger one)

Normally, I wouldn't bundle spelling fixes and the workflow, but my previous change unfortunately broke the other spell checker, so...

jsoref added 18 commits October 20, 2025 14:59
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Replaces rojopolis/spellcheck-github-actions

Signed-off-by: Josh Soref <[email protected]>
@jsoref jsoref force-pushed the switch-to-check-spelling branch from d81d882 to cd54f9d Compare October 20, 2025 22:19
assert await decoded_r.bf().card("bf1") == 1

# Error when key is of a type other than Bloom filtedecoded_r.
# Error when key is of a type other than Bloom filter decoded_r.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

notable


@skip_if_server_version_lt("6.2.0")
def test_zrandemember(self, r):
def test_zrandmember(self, r):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

kinda fun


def parse_item(item):
result = {"id": item[0], "start_time": int(item[1]), "duration": int(item[2])}
# Valkey Enterprise injects another entry at index [3], which has
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Personally I was more bothered by Valkey Enterprise:
https://valkey-oss-developer.slack.com/archives/C06RQ5P6QPL/p1760984702515739

Comment on lines -395 to +396
# the complexity info (i.e. the value N in case the command has
# an O(N) complexity) instead of the command.
# the complexity info (i.e. the value N for a command of complexity
# O(N)) instead of the command.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

check-spelling/spell-check-this didn't like in case (and I agree)


def _check_certificate(issuer_cert, ocsp_bytes, validate=True):
"""A wrapper the return the validity of a known ocsp certificate"""
"""A wrapper to return the validity of a known ocsp certificate"""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

notable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant