Skip to content

Fix up QBX refinement mode changes#314

Merged
inducer merged 1 commit intomainfrom
ref-mode-fixes
Apr 1, 2026
Merged

Fix up QBX refinement mode changes#314
inducer merged 1 commit intomainfrom
ref-mode-fixes

Conversation

@inducer
Copy link
Copy Markdown
Owner

@inducer inducer commented Apr 1, 2026

Copy link
Copy Markdown
Collaborator

@alexfikl alexfikl left a comment

Choose a reason for hiding this comment

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

Looks great, no further comments 😁

Copy link
Copy Markdown

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 follows up on the recent QBX refinement-mode API work by renaming the “complain” mode to a more explicit enum member name, updating refinement error paths accordingly, and adjusting Sphinx configuration for the NOT_PROVIDED sentinel type reference.

Changes:

  • Rename QBXRefinementMode.COMPLAIN to QBXRefinementMode.ERROR_ON_REFINEMENT and update stage-1/stage-2 refinement checks and error messages.
  • Remove QBXRefinementMode / QBXRefinementNeededError from pytential.qbx module-level autodoc listing.
  • Update Sphinx nitpick_ignore_regex to ignore NOT_PROVIDED instead of _not_provided.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
pytential/qbx/refinement.py Renames the enum mode and updates the error-on-refinement checks/messages and docstring.
pytential/qbx/init.py Adjusts the pytential.qbx module docstring autodoc entries (removes refinement types).
doc/conf.py Updates Sphinx nitpick ignore regex to match NOT_PROVIDED.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@inducer inducer enabled auto-merge (rebase) April 1, 2026 18:47
@inducer inducer merged commit 39cd417 into main Apr 1, 2026
12 checks passed
@inducer inducer deleted the ref-mode-fixes branch April 1, 2026 19:12
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.

3 participants