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

Add proper typing to all slots that encode time intervals in seconds. #2613

Closed
wants to merge 1 commit into from

Conversation

aadcg
Copy link
Member

@aadcg aadcg commented Nov 1, 2022

Adhere to new slot style when required.

Review all time-related docstrings.

Description

From #2555.

Checklist:

Everything in this checklist is required for each PR. Please do not approve a PR that does not have all of these items.

  • I have pulled from master before submitting this PR
  • There are no merge conflicts.
  • I've added the new dependencies as:
    • ASDF dependencies,
    • Git submodules,
      cd /path/to/nyxt/checkout
      git submodule add https://gitlab.common-lisp.net/nyxt/py-configparser _build/py-configparser
    • and Guix dependencies.
  • My code follows the style guidelines for Common Lisp code. See:
  • I have performed a self-review of my own code.
  • My code has been reviewed by at least one peer. (The peer review to approve a PR counts. The reviewer must download and test the code.)
  • Documentation:
    • All my code has docstrings and :documentations written in the aforementioned style. (It's OK to skip the docstring for really trivial parts.)
    • I have updated the existing documentation to match my changes.
    • I have commented my code in hard-to-understand areas.
    • I have updated the changelog.lisp with my changes if it's anything user-facing (new features, important bug fix, compatibility breakage).
    • I have added a migration.lisp entry for all compatibility-breaking changes.
  • Compilation and tests:
    • My changes generate no new warnings.
    • I have added tests that prove my fix is effective or that my feature works. (If possible.)
    • New and existing unit tests pass locally with my changes.

Adhere to new slot style when required.

Review all time-related docstrings.
@aadcg aadcg requested a review from aartaka November 1, 2022 11:18
:documentation "Execute the first of `selection-actions' after this delay
when `selection-actions-enabled-p' is non-nil."))
:type alex:non-negative-real
:documentation "Time in seconds after which `selection-actions' run."))
Copy link
Member

Choose a reason for hiding this comment

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

Much better, but you should still mention selection-actions-enabled-p.

Copy link
Member

@Ambrevar Ambrevar left a comment

Choose a reason for hiding this comment

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

All good except for one nit. Feel free to merge when fixed!

@aadcg
Copy link
Member Author

aadcg commented Nov 2, 2022

Merged via 5ecd600.

@aadcg aadcg closed this Nov 2, 2022
@aadcg aadcg deleted the type-time-encodings branch November 2, 2022 09:12
@Ambrevar
Copy link
Member

Ambrevar commented Nov 2, 2022

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants