Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 0 |
1 | """Module for helping with debugging and issue logging""" |
||
2 | |||
3 | 1 | import os |
|
4 | 1 | from pathlib import Path |
|
5 | |||
6 | 1 | from lagom import version |
|
7 | |||
8 | |||
9 | 1 | def get_commit_hash(): |
|
10 | return "DISABLED_FOR_NOW" |
||
11 | |||
12 | |||
13 | 1 | def get_build_info(): |
|
14 | return {"version": version.__version__, "commit_hash": get_commit_hash()} |
||
15 | |||
16 | |||
17 | 1 | if __name__ == "__main__": |
|
18 | print(f"Lagom version {version.__version__} commit {get_commit_hash()}") |
||
19 |