v3.0.3 #60
duriantaco
announced in
Announcements
v3.0.3
#60
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[3.0.3] - 2026-01-10
Added
abc.ABCorABCclasses are tracked.@abstractmethoddecorators are also collected per ABC class. Methods implementing parent ABC's abstract methods as well as classes explicitly inheriting from Protocol classes will get a confidence of 0visit_ClassDeftracking insidevisitor.pyfor ABC/Protocol inheritance chainsMixinclass methods penalty. Methods in*Mixinclasses get a -60% confidence penaltyBase*,*Base,*ABC,*Interface,*Adapterclasseson_*,watch_*,composemethods. They will face a -30%, -30% and -40% penalty respectively@dataclassclass attributes,typing.NamedTuplefields,enum.Enumclass,@attr.s, PydanticBaseModelfields all will get a confidence of 0tryblocks withexcept ImportError+HAS_*/HAVE_*flags will be marked as usedChanges
config.pyto include# noqacomments where any line with# noqawill be ignored. Supports the following formats.# noqa,# noqa: F401,# noqa: F401, F402,#noqa,# NOQAFixed
visit_Tryto correctly construct import references for optional dependenciesThis discussion was created from the release v3.0.3.
Beta Was this translation helpful? Give feedback.
All reactions