Action Updater
0.0.0

Getting started

  • Getting Started
  • User Guide
  • Developer Guide

API Reference

  • license_updater
    • license_updater package
      • Subpackages
        • license_updater.client package
        • license_updater.main package
        • license_updater.utils package
      • Submodules
      • license_updater.defaults module
      • license_updater.logger module
      • license_updater.version module
      • Module contents
Action Updater
  • »
  • license_updater »
  • license_updater package »
  • license_updater.main package »
  • license_updater.main.updaters package »
  • license_updater.main.updaters.python_copyright_metadata package
  • View page source

license_updater.main.updaters.python_copyright_metadata package¶

Submodules¶

license_updater.main.updaters.python_copyright_metadata.update module¶

class license_updater.main.updaters.python_copyright_metadata.update.PythonCopyrightMetadataUpdater[source]¶

Bases: UpdaterBase

description = 'update __copyright__ in python files'¶
detect(script)[source]¶

Detect changes in an action, old set-state.

file_regex = '[.]py$'¶
is_up_to_date(line)[source]¶

An up to date line has a date range that is correct!

match_date(line)[source]¶

Match Case 2: a single year

match_date_range(line)[source]¶

Match Case 2: a range of years (2022-2023)

name = 'python-copyright-updater'¶

Module contents¶

Next Previous

© Copyright 2022, Vanessa Sochat.

Built with Sphinx using a theme provided by Read the Docs.