chromite/lib/constants.py is full of module-specific constants all thrown together in one big mess. This causes us to pull in many unnecessary dependencies from modules that could otherwise be isolated, and makes the code generally messier and harder to read.
In general, constants that are needed by only 1 module should be moved to that module (and made private).
constants that are used by a few closely related modules should be moved to the most sensible common module that they depend on.
Comment 1 by akes...@chromium.org
, Jul 18 2017