Skip to content

Let recording be scoped, and name what is not being checked - #22

Merged
LuShadowX merged 1 commit into
mainfrom
scope-and-name-the-gaps
Aug 8, 2026
Merged

Let recording be scoped, and name what is not being checked#22
LuShadowX merged 1 commit into
mainfrom
scope-and-name-the-gaps

Conversation

@LuShadowX

Copy link
Copy Markdown
Owner

Two changes, both about the user knowing what a verdict covers.

Recording was all-or-nothing per package, so one noisy or vendored module
could dominate a recording with no way to leave it out. nodrift record now
takes --include and --exclude as fnmatch patterns against the full
module:Qualname target, so a subpackage, a module or a single method can be
named. Excludes win over includes, since the point of naming one is to keep
it out, and the count of skipped callables is printed rather than left to
show up as a quietly smaller recording.

check reported quarantined records as a bare count. "47 records
quarantined" says nothing about whether the function you care about stopped
being checked, so the targets are now named - the first three inline, all of
them under --verbose.

Closes #10
Refs #12

Two changes, both about the user knowing what a verdict covers.

Recording was all-or-nothing per package, so one noisy or vendored module
could dominate a recording with no way to leave it out. `nodrift record` now
takes --include and --exclude as fnmatch patterns against the full
`module:Qualname` target, so a subpackage, a module or a single method can be
named. Excludes win over includes, since the point of naming one is to keep
it out, and the count of skipped callables is printed rather than left to
show up as a quietly smaller recording.

`check` reported quarantined records as a bare count. "47 records
quarantined" says nothing about whether the function you care about stopped
being checked, so the targets are now named - the first three inline, all of
them under --verbose.

Closes #10
Refs #12
@LuShadowX
LuShadowX merged commit 16c4ce0 into main Aug 8, 2026
10 checks passed
@LuShadowX
LuShadowX deleted the scope-and-name-the-gaps branch August 8, 2026 04:04
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.

Let users scope which functions are recorded

1 participant