jwodder / versioningit

Versioning It with your Version In Git
MIT License
69 stars 5 forks source link

Make the method APIs more resistant to breaking changes #66

Open jwodder opened 9 months ago

jwodder commented 9 months ago

Idea: Require method implementations to be subclasses of base classes defined by versioningit, one base class per step. Instances of these classes will have step arguments provided as instance attributes (and thus additions to the arguments should not require updating any code), and they are executed via a run() or __call__() method.