Find a way to prevent coupling future migrations with business domain code by mistake
Open
code health
- Dominant language
- Python
- Stars
- 3.2k
- Forks
- 459
- Avg merge
- 27d 1h
- Merged PRs (30d)
- 1
Description
Most of the migrations define their own models to avoid importing from the rest of the source code, but as seen in https://github.com/hypothesis/h/issues/8541, it is possible to make a mistake.
It would be useful to have some automated way to highlight when a migration is importing business domain code, as this is usually an overlook.
One option is a linting rule. This package seems to go in that direction https://pypi.org/project/import-linter/, but it would be good to be able to do this with the existing tooling.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.