Run the published surface check instead of this repository's copy of it #4
Labels
No labels
bug
documentation
enhancement
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo-paperless#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The surface it was waiting for landed in the core (postulo/postulo#229,
1d6cdd7e0):postulo.plugins.apinow carries the notifier contract, the records a sync works on, thecalls that write to a timeline, the details that hang off a contact, and the calendar text.
The core also publishes the check itself as
postulo.plugins.testing, so a plugin canassert the same thing about its own source that Postulo asserts about the ones it ships.
This plugin already imports nothing but
postulo.plugins.api, so there is nothing tomove. What it has is its own copy of the AST check in
tests/test_surface.py, which is onemore thing to keep current than there needs to be.
Also
mainrather than a commit. Pin it to1d6cdd7e0or later, sopostulo.plugins.testingis there to import and the pin says which core these testspassed against.
Run the published check
Replace this repository's hand-written copy of the AST check with the core's:
One check rather than several near-copies that can drift apart, and it resolves relative
imports, which the copy here does not.