diff options
author | Dani Alcala <112832187+clavedeluna@users.noreply.github.com> | 2022-12-24 17:31:56 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-24 21:31:56 +0100 |
commit | 4a5f5be479952d5c865a18520f14db321d2432b2 (patch) | |
tree | 8b3e3d4feb6fd77241bcaa2e2347a3126a801638 | |
parent | 2ae0e98454c28e2aaf1c892655f34eb8d19772d7 (diff) | |
download | pylint-git-4a5f5be479952d5c865a18520f14db321d2432b2.tar.gz |
update while-used doc (#7974)
-rw-r--r-- | pylint/extensions/while_used.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pylint/extensions/while_used.py b/pylint/extensions/while_used.py index a65092df0..78f7d314a 100644 --- a/pylint/extensions/while_used.py +++ b/pylint/extensions/while_used.py @@ -24,7 +24,8 @@ class WhileChecker(BaseChecker): "W0149": ( "Used `while` loop", "while-used", - "Unbounded `while` loops can often be rewritten as bounded `for` loops.", + "Unbounded `while` loops can often be rewritten as bounded `for` loops. " + "Exceptions can be made for cases such as event loops, listeners, etc.", ) } |