summaryrefslogtreecommitdiff
path: root/tests/plugins/pipeline/badversionsource/customsources/foo.py
blob: f50855fd1d10e3a7a375bb4b7f32a5cd665af223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from buildstream import Source, Consistency


class BarSource(Source):

    BST_FORMAT_VERSION = 5

    def preflight(self):
        pass

    def configure(self, node):
        pass

    def get_consistency(self):
        return Consistency.INCONSISTENT


def setup():
    return BarSource