Credo v1.4.0 Credo.IssueMeta View Source

IssueMeta provides helper functions for meta information which a check wants to pass to the issue_for(...) function, i.e. the current SourceFile and check params (by default).

Link to this section Summary

Functions

Returns an issue meta tuple for the given source_file and check_params.

Returns the check params for the given issue_meta.

Returns the source file for the given issue_meta.

Link to this section Types

Link to this section Functions

Link to this function

for(source_file, check_params)

View Source

Returns an issue meta tuple for the given source_file and check_params.

Returns the check params for the given issue_meta.

Returns the source file for the given issue_meta.