-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(run_modules): Move common setup to individual functions
Each `run_<module>()` will still need to parse configuration and load files. Rather than duplicate the code that does so I've broken out the functionality into a few small private functions (nothing is private in Python land though) so they can be re-used across the `run_<module>()` functions. Introduces a simple test of logging level, must other functionality already has tests in place. Aiming to keep changes and PRs small to aid reviewing.
- Loading branch information
Showing
2 changed files
with
102 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters