You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
521 B
Python
24 lines
521 B
Python
#!/usr/bin/env python3
|
|
|
|
# SPDX-FileCopyrightText: 2022 LEdoian <checklib@pokemon.ledoian.cz>
|
|
# SPDX-License-Identifier: WTFPL
|
|
|
|
from checklib import Check, Result
|
|
|
|
class MyCheck(Check):
|
|
def check(self):
|
|
self.result = Result.UNKNOWN
|
|
self.short_status = 'I don\'t know :-)'
|
|
|
|
def add_arguments(self):
|
|
pass
|
|
|
|
# Collect argparse arguments at self.arguments
|
|
|
|
# If defining __init__, call super().__init__ first -- it populates
|
|
# self.result, self.argumentparser and so on.
|
|
|
|
|
|
if __name__ == '__main__':
|
|
MyCheck.run()
|