It would be nice if stubs could be included directly in the package they are created from. The current problem is, that we would need to differentiate handwritten pre-existing stubs from those generated with docstub. The latter are supposed to be overwritten if docstub is rerun, while the first ones are meant to be copied as they are.
A simple solution might be, to use a top-level comment like
# docstub: allow-overwrite
It would be nice if stubs could be included directly in the package they are created from. The current problem is, that we would need to differentiate handwritten pre-existing stubs from those generated with docstub. The latter are supposed to be overwritten if docstub is rerun, while the first ones are meant to be copied as they are.
A simple solution might be, to use a top-level comment like
# docstub: allow-overwrite