Closed CSenshi closed 4 years ago
We generate new rule using make generate-rule F_NAME=new_rule
make generate-rule F_NAME=new_rule
It generates rule with following doc:
""" >>> TrueNewRule = NewRule() >>> TrueNewRule(...) True >>> FalseNewRule = NewRule() >>> FalseNewRule(...) False """
We have redesigned README to work on rules with following docs:
""" Documentation... Examples: >>> NewRule().check(...) True >>> NewRule().check(...) False """
Please change generated rule to look like one given above.
Please change __call__ change to check
__call__
check
Please change __init__ method to:
__init__
def __init__(self): Rule.__init__(self)
Please work in the branch called change-rule-generation. There was one error in Makefile and changed it in there.
change-rule-generation
Note: changed make generate-rule F_NAME=new_rule to make rule F_NAME=new_rule
make rule F_NAME=new_rule
We generate new rule using
make generate-rule F_NAME=new_rule
It generates rule with following doc:
We have redesigned README to work on rules with following docs:
Please change generated rule to look like one given above.
Please change
__call__
change tocheck
Please change
__init__
method to: