You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update CONTRIBUTING for the new detector interface and test deprecation notes #181
Parent: #179 · Epic: #126 · Blocked by: #174, #180
Branch from stateless_core; open the PR against it.
Problem
CONTRIBUTING.md still tells contributors to add a detector by editing factory.py and make_detector. Nothing checks that every deprecated name has its docstring note.
Current behavior
CONTRIBUTING.md "Project structure" and the "New detection methods" item describe factory.py / make_detector.
lettucedetect/detectors/factory.py:10 is the old entry point.
Steps
Rewrite "Project structure" and "New detection methods" to describe implementing detect and registering in the registry (registry.py), and to point to the contract suite.
Add a test that reads the "Deprecated" section of CHANGELOG.md, resolves each listed name, and asserts its docstring contains .. deprecated:: plus the replacement and removal version.
Acceptance criteria
CONTRIBUTING.md no longer mentions factory.py/make_detector as the way to add a detector.
The walking test fails if a listed name loses its note.
Activity
adaamko commentedon Nov 22, 2026
Done in #202, merged into
stateless_core.