skip to navigation
skip to content

Not Logged In

sloth-ci.ext.dummy 1.0.4

Dummy app extension for Sloth CI

Latest Version: 1.0.6

Dummy Sloth CI app extension that replaces the default executor.

Config params:

[dummy]
;Some param. If missing, "baz" is used.
foo = bar

All config params are optional.

This extension can be used as a reference when creating real extensions.

Sloth app extensions extend the base Sloth class. An extension can override default methods and attributes, as well as add its own. Extensions have access to the app config. The convention is to keep all extension-related settings in the section of the same name, e.g. [dummy].

Extensions are declared in the [extensions] section in the Sloth app config and are plugged in in the order they are declared.

An extension is a module containing a single function extend(cls), which in turn declares a new class called by convention Sloth. It inherits from cls. Its minimal __init__ method must initialize the parent class instance.

Methods of the Sloth class will replace the methods of the same name in the original sloth_ci.sloth.Sloth class.

 
File Type Py Version Uploaded on Size
sloth-ci.ext.dummy-1.0.4.win-amd64.exe (md5) MS Windows installer any 2014-06-24 221KB
sloth-ci.ext.dummy-1.0.4.zip (md5) Source 2014-06-24 4KB
sloth_ci.ext.dummy-1.0.4-py3-none-any.whl (md5) Python Wheel 3.4 2014-06-24 4KB
  • Downloads (All Versions):
  • 34 downloads in the last day
  • 367 downloads in the last week
  • 1127 downloads in the last month