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

RF: Add keyword arguments to module: animation #899

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

Conversation

WassCodeur
Copy link
Contributor

  • apply warn_on_args_to_kwargs to the module animation
  • update the unitest

author WassCodeur <wachioubouraima56@gmail.com> 1716302141 +0000
committer WassCodeur <wachioubouraima56@gmail.com> 1717549770 +0000

NF: Add keyword_only decorator to enforce keyword-only arguments

RF: Refactor keyword-only  code and Add keyword-only arguments to functions

TEST: Add test for keyword_only" decorator

Refactor code to use keyword-only arguments in several functions

NF: remove some doctest and add a short comment on line 111 to explain what the loop does in fury/decorators.py

RF: Refactor keyword-only  code and Add keyword-only arguments to functions

Refactor code to use keyword-only arguments in several functions
- Renamed `keyword-only` decorator to `warn_on_args_to_kwargs` for greater clarity.
- Updated `warn_on_args_to_kwargs` to include version parameters `from_version` and `until_version`.
- Added logic to raise a RuntimeError if the current version of FURY_VERSION is greater than `until_version`.
- Moved `__version__` definition to a new `fury/version.py` module to avoid circular import problems.
- Updated all functions using the decorator to reflect the new name and parameters.
- Adjusted import declarations and ensured compatibility across the code base.
…gs arguments to functions in window.py and actor.py
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.

None yet

1 participant