Coverage for trlc/version.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.7.1, created at 2025-03-27 00:52 +0000

1#!/usr/bin/env python3 

2# 

3# TRLC - Treat Requirements Like Code 

4# Copyright (C) 2022 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) 

5# 

6# This file is part of the TRLC Python Reference Implementation. 

7# 

8# TRLC is free software: you can redistribute it and/or modify it 

9# under the terms of the GNU General Public License as published by 

10# the Free Software Foundation, either version 3 of the License, or 

11# (at your option) any later version. 

12# 

13# TRLC is distributed in the hope that it will be useful, but WITHOUT 

14# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 

15# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 

16# License for more details. 

17# 

18# You should have received a copy of the GNU General Public License 

19# along with TRLC. If not, see <https://www.gnu.org/licenses/>. 

20 

21VERSION_TUPLE = (2, 0, 2) 

22VERSION_SUFFIX = "dev" 

23 

24TRLC_VERSION = ("%u.%u.%u" % VERSION_TUPLE) + \ 

25 ("-%s" % VERSION_SUFFIX if VERSION_SUFFIX else "") 

26 

27FULL_NAME = "TRLC %s" % TRLC_VERSION 

28 

29GITHUB_PROJECT = "https://github.com/bmw-software-engineering/trlc" 

30BUGS_URL = "%s/issues" % GITHUB_PROJECT 

31DOCS_URL = "%s#documentation" % GITHUB_PROJECT 

32CODE_URL = GITHUB_PROJECT