summaryrefslogtreecommitdiff
path: root/tests/format/project/plugin-forbidden/forbidden-plugins/forbidden-plugin.py
blob: 76d9bfd3c870dfe32d389660d5402d1fb57551a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from buildstream import Element


class FooElement(Element):

    BST_MIN_VERSION = "2.0"

    def configure(self, config):
        pass

    def preflight(self):
        pass

    def get_unique_key(self):
        return "foo"


def setup():
    return FooElement