microsoft / microsoft/typespec
Linter to prevent cyclical runtime imports
Open
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
Every once in a while a very difficult to debug issue like the one fixed by #2111 comes down to a runtime import cycle. We should have a linter to prevent this. It's very hard to catch via testing alone since it can depend on ordering whether the cycle breaks something or not.
Contributor guide
Assessment
This issue has not been assessed yet.