8000 [#317] remove load_repl in user config, add ignore extra values by gswifort · Pull Request #320 · CEXT-Dan/PyRx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[#317] remove load_repl in user config, add ignore extra values #320

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
May 15, 2025

Conversation

gswifort
Copy link
Collaborator
@gswifort gswifort commented May 15, 2025

No description provided.

@gswifort gswifort linked an issue May 15, 2025 that may be closed by this pull request
@gswifort gswifort requested a review from Copilot May 15, 2025 19:21
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the load_repl configuration option and associated tests while adding support for ignoring extra values in user configuration.

  • Removed references to load_repl from tests and configuration files
  • Updated the model configuration to ignore extra fields
  • Adjusted the host initialization to unconditionally import the REPL module

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
tests/test_config.py Removed tests and assertions for load_repl and added tests for extra values
pyrx/pyrx.toml Removed the load_repl setting from the configuration file
pyrx/config.py Removed the load_repl property and updated the model_config to ignore extra fields
pyrx/_host_init.py Removed conditional REPL loading based on load_repl and now always imports the module
Comments suppressed due to low confidence (2)

tests/test_config.py:22

  • [nitpick] Consider revising the docstring to improve clarity and grammatical agreement (e.g., 'ensure PYRX_DISABLE_ONLOAD is unset').
'''Setup method to ensure PYRX_DISABLE_ONLOAD are unset.'''

pyrx/_host_init.py:104

  • The conditional loading for the REPL module based on the 'load_repl' setting was removed and is now imported unconditionally; please confirm that this change in behavior is intended and properly documented.
import pyrx.repl.repl_cmds  # noqa: F401

@gswifort gswifort merged commit 09a9b93 into main May 15, 2025
3 checks passed
@gswifort gswifort deleted the 317-remove-load_repl-in-user-config branch May 17, 2025 10:40
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.

remove load_repl in user config
1 participant
0