Open benjaminwoods opened 4 years ago
Signature is a bit better now:
def some_ruler(path, name, testdir, language):
# Do something
pass
where:
path
is a pathlib.Path to a source filename
is a string with the global name of the objecttestdir
is a string with the relative path to the test directorylanguage
is a dict with info about the programming languageStill may change this to (path, name, language, **options)
, but this is fine for now.
Implement all four base rulers. Current design:
The signature of ruler functions also needs cementing.