globalsNone
globalsNone is a term used in some software development tools to denote that a module or code unit defines no global variables. It functions as a constraint in static analysis, linting, and security auditing aimed at reducing global state, improving modularity, and enhancing testability.
In practice, globalsNone is typically implemented as a check or label within a tooling ecosystem. The analyzer
The rationale behind enforcing globalsNone includes increased determinism, easier unit testing, and safer parallel execution since
Examples of evaluating globalsNone typically involve analyzing whether any top-level assignments or imports introduce persistent state