mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Make gen_requirements_all.py case insensitive for ignored pack… (#30885)
This commit is contained in:
parent
2d3b117cb8
commit
1d3647e6a1
@ -135,7 +135,7 @@ def gather_recursive_requirements(domain, seen=None):
|
||||
|
||||
def comment_requirement(req):
|
||||
"""Comment out requirement. Some don't install on all systems."""
|
||||
return any(ign in req for ign in COMMENT_REQUIREMENTS)
|
||||
return any(ign.lower() in req.lower() for ign in COMMENT_REQUIREMENTS)
|
||||
|
||||
|
||||
def gather_modules():
|
||||
|
Loading…
x
Reference in New Issue
Block a user