license_updater.main package¶
Subpackages¶
Submodules¶
license_updater.main.client module¶
- class license_updater.main.client.LicenseUpdater(quiet=False, code_theme='vim', **kwargs)[source]¶
Bases:
object
Create a License Updater
- detect(paths, details=True, updaters=None, ignore_patterns=None)[source]¶
Look for changes in files according to updaters
- property updaters¶
Get a list of updaters available
license_updater.main.script module¶
- class license_updater.main.script.ScriptFile(filename)[source]¶
Bases:
object
Parse a script and/or file into the updater.
We always present the changes (copy of original) and then can easily compare the two. The overall structure should not change.
- property has_changes¶
Determine if before != after (the action has changed)