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

feat[lang]: use keyword arguments for event instantiation #4257

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Commits on Sep 23, 2024

  1. remove outdated comment

    z80dev committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    24c202c View commit details
    Browse the repository at this point in the history
  2. Implement instantiating events with kwargs

    Backwards compatible (with deprecation warning) with positional
    arguments
    z80dev committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    bc8c530 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    422abd6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf5b548 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    acbcc77 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    473ca21 View commit details
    Browse the repository at this point in the history
  5. fix affected unit tests

    z80dev committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    4ee73ee View commit details
    Browse the repository at this point in the history
  6. fix: lint

    z80dev committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    61b17a7 View commit details
    Browse the repository at this point in the history
  7. fix: flake8

    z80dev committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    d78dd0c View commit details
    Browse the repository at this point in the history
  8. mypy fix

    z80dev committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    6c7b91d View commit details
    Browse the repository at this point in the history
  9. fix: lint again

    z80dev committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    8e62578 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4a4df37 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. fix: remove unnecessary line

    we don't need to set a parent node for the kw node's value
    z80dev committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    7474f16 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    4320ebc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e18d169 View commit details
    Browse the repository at this point in the history
  3. fix: lint

    z80dev committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    7d58cc2 View commit details
    Browse the repository at this point in the history
  4. remove AST conversion

    rather than converting positional arg ASTs to kwarg ASTs, we handle
    kwargs alongside the existing positional arg logic
    z80dev committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    4969586 View commit details
    Browse the repository at this point in the history
  5. fix: lint

    z80dev committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    ce50fb1 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Move code with effects to straight-line code section

    Co-authored-by: Charles Cooper <cooper.charles.m@gmail.com>
    z80dev and charles-cooper authored Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e2a88c6 View commit details
    Browse the repository at this point in the history
  2. Move kwarg validation to helper fn

    Reduces duplication around EventT and StructT classes
    z80dev committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    b44e202 View commit details
    Browse the repository at this point in the history
  3. fix: missing validation on events

    also update expected exception on some struct failures now that we're
    using a common helper function
    z80dev committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    81a700c View commit details
    Browse the repository at this point in the history
  4. fix: lint

    z80dev committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    f931053 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. fix: move copy into helper fn

    z80dev committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    58f369b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7609e20 View commit details
    Browse the repository at this point in the history
  3. Tighten type constraint on validate_kwargs

    Co-authored-by: Charles Cooper <cooper.charles.m@gmail.com>
    z80dev and charles-cooper authored Oct 1, 2024
    Configuration menu
    Copy the full SHA
    a1a5dcb View commit details
    Browse the repository at this point in the history
  4. fix: lint

    z80dev committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    5927a80 View commit details
    Browse the repository at this point in the history