ifw
0.0.1-dev
|
Classes | |
class | linter |
Base class for linter tasks. More... | |
Functions | |
def | clang_tidy_execute |
Creates clang-tidy tasks using previously created compile tasks with the features 'c' or 'cxx'. More... | |
def | create_clang_tidy_task |
Create a clang-tidy task for a compile task. More... | |
def | pylint_execute |
Creates pylint tasks for source. More... | |
def | create_pylint_task |
Create pylint task for task generato. More... | |
def wtools.tools.lint.clang_tidy_execute | ( | self | ) |
Creates clang-tidy tasks using previously created compile tasks with the features 'c' or 'cxx'.
This is done to reuse the run_str and environment from those tasks for clang-tidy
to get a reproducable command line.
Not that:
def wtools.tools.lint.create_clang_tidy_task | ( | taskgen, | |
ctask | |||
) |
Create a clang-tidy task for a compile task.
This is tested with Tasks that use the Task.run_str feature, if tasks that implement run() instead needs to be supported the Task.TaskBase.keep_last_cmd needs to be used.
def wtools.tools.lint.create_pylint_task | ( | taskgen | ) |
Create pylint task for task generato.
def wtools.tools.lint.pylint_execute | ( | self | ) |
Creates pylint tasks for source.