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 Oct 19, 2023
1 parent 5c96e56 commit fe2b80d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/extensions/check_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ def check_events(app: Sphinx, env: BuildEnvironment):
if post["docname"] in env.config.aiida_ignore_event_checks:
continue
category: set[str] = post["category"]
if not category.intersection(("Reports", "News", "Events", "Releases", "Blog")):
if not category.intersection(
("Reports", "News", "Events", "Releases", "Blog")
):
LOGGER.warning(
f"Post does not have a valid category [aiida]",
location=post["docname"],
Expand Down

0 comments on commit fe2b80d

Please sign in to comment.