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 }}
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.
I'd like to see domain-scan be able to be packaged up and installed via pip. While this is certainly doable, to do it right would (IMO) require some fairly risky surgery to the internals. Since 18F is relying on this in prod, I wouldn't be able to tackle this myself in its current state.
Instead, I propose a series of smaller refactors, specifically aimed initially at breaking up scan and adding tests. Once a suitable test suite starts to form, it will slowly become easier to tackle the larger obstacles.
I'd also like to suggest introducing type annotations as we go. I've found it increases code readability and quality significantly, especially when combined with mypy to make sure they stay up to date.
@JasonMWhite I am massively supportive of this. We are using it in prod, but we'd get a lot of benefit out of making this a more testable and modular project. (scan, in particular, has evolved from a relatively small shim to a very interesting task management system, and is in need of a breakup.)
I'll cc @tadhg-ohiggins as well, who has been spending the last week getting up to speed on the project, with an initial focus on adding tests and paying down technical debt. In general, we are willing to prioritize our work around seeing domain-scan made more reusable and maintainable across organizational boundaries.
I'd like to see domain-scan be able to be packaged up and installed via pip. While this is certainly doable, to do it right would (IMO) require some fairly risky surgery to the internals. Since 18F is relying on this in prod, I wouldn't be able to tackle this myself in its current state.
Instead, I propose a series of smaller refactors, specifically aimed initially at breaking up
scan
and adding tests. Once a suitable test suite starts to form, it will slowly become easier to tackle the larger obstacles.I'd also like to suggest introducing type annotations as we go. I've found it increases code readability and quality significantly, especially when combined with
mypy
to make sure they stay up to date.@konklone thoughts?
The text was updated successfully, but these errors were encountered: