Repository navigation
Drive NRA sibling_override and restated_base to zero across src/toad - #2236
Merged
Merged
Conversation
…(Batch 28) - Remove restated FlashHost base on Conversation (already inherited via MenuConversation; restated_base -> 0). - Hoist ConfiguredView.footer_compact = True (removing duplicates on FilePreviewScreen and MainScreen; WelcomeScreen stays False). - Hoist CompletionPopup.requires_completion = True (removing duplicates on PathSearch and SlashComplete). - Default NeovimRequester.resolve_reply to reply.resolve(request, value) (removing duplicates on NeovimSession and NeovimHost). - Add LiteralProjectLink(ProjectLink, declared_name=None) owning href for MissingProjectFileLink and ExternalProjectLink. - Add TabTransition(TransitionTarget) owning animation_visible for TabGrowth and TabGhost. - Default QueueSource.queue_scope to NoQueueScope() (removing duplicates on NoQueueSource and BusQueueSource). - Default WorkspaceSource.retire to return self; drop redundant abstract BoundWorkspaceSource.current; add ActiveWorkspaceSource owning current() for LoadingWorkspaceSource and ShownWorkspaceSource. - Default ScreenContent.line/wait/prepare and add PreparableContent owning prepare() for OpeningContent and ReadyContent. - Add LiteralToolOutputPart(ToolOutputPart, declared_name=None) owning line_blocks for SentMessageToolOutputPart and PublishedSentMessageToolOutputPart. - Add ExecutionTerminal(Terminal) owning resize_process for CommandPane and TerminalTool. - Hoist CommandFormCore.dismiss_control (removing duplicates on QtActionProperties and CommandForm). - Default Page.mode to return self.id (removing duplicates on QtOpeningSessionView and QtMailboxView). - Default SessionScope._identity/thread_identity (removing duplicates on HomeSessionOrigin, SessionView, QtMailboxView, and redundant abstract/restated hooks on toad.session_scope.SessionScope). - Add RetainedBytesStorage(ReusableStorage) owning result_size for SourcePageWork and TranscriptPageRenderTask. - Default FrameState.displayed to no-op and add DisplayingFrame for PendingFrame and WritingFrame. - Hoist QuestionAction.available (removing duplicates on SelectionAction and SelectAction). - Cached NRA raw findings: 490 -> 467 (restated_override: 0, restated_base: 0, repeated_property_alias_hooks: 0, sibling_override: 0).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Batch 28 NRA structural slop sweep (490 -> 467 raw findings; 0
sibling_override, 0restated_base, 0restated_override, 0repeated_property_alias_hooksacross all ofsrc/toad/):FlashHostbase fromConversationsibling_overridefamilies acrossConfiguredView,CompletionPopup,NeovimRequester,LiteralProjectLink,TabTransition,QueueSource,WorkspaceSource/ActiveWorkspaceSource,ScreenContent/PreparableContent,LiteralToolOutputPart,ExecutionTerminal,CommandFormCore,Page.mode,SessionScope.thread_identity,RetainedBytesStorage,FrameState/DisplayingFrame, andQuestionAction.availabletest_home_reads_who_the_reader_is_off_the_loop_once_before_it_opens_a_targetforthread_identityhoisted ontoSessionScopeVerified with
qt_inherit_ratchet.py(0/0/0/0/0),shadow_check.py(0),guarded_imports.py(0), all 137tests/guards/tests (outsidetest_client_imports_without_textual), and cached NRA confirming 0 remainingsibling_override/restated_base.