Skip to content

Commit

Permalink
refactor(core.py): Apply ruff suggested fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samjwu committed Jun 27, 2024
1 parent fe3d7cc commit 5112931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rocm_docs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def is_visible(element):
return False
if isinstance(element, bs4.element.Comment):
return False
return not element.string == "\n"
return element.string != "\n"

words_per_minute = 200
average_word_length = 5
Expand Down

0 comments on commit 5112931

Please sign in to comment.