Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 14, 2025
1 parent 897a746 commit d501bde
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ def test_examples_are_valid(location, config):
def test_all_filters_documented():
filter_docs = (DOCS_DIR / "filters.md").read_text(encoding="utf-8")
for name in FILTERS.keys():
assert (
"## {}".format(name) in filter_docs
), f"The {name} filter is not documented!"
assert "## {}".format(name) in filter_docs, (
f"The {name} filter is not documented!"
)


def test_all_actions_documented():
action_docs = (DOCS_DIR / "actions.md").read_text(encoding="utf-8")
for name in ACTIONS.keys():
assert (
"## {}".format(name) in action_docs
), f"The {name} action is not documented!"
assert "## {}".format(name) in action_docs, (
f"The {name} action is not documented!"
)

0 comments on commit d501bde

Please sign in to comment.