Skip to content

Commit

Permalink
fix: remove an unnecessary docstring in an example plugin rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Oct 8, 2020
1 parent 6a1fead commit 0588797
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/yamllint_plugin_example/rules/forbid_comments.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@


def check(conf, comment):
"""Check if comments are found.
"""
if conf['forbid']:
yield LintProblem(comment.line_no, comment.column_no,
'forbidden comment')

0 comments on commit 0588797

Please sign in to comment.