1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-18 09:51:41 +00:00

Reformat everything.

This commit is contained in:
Felix Fontein 2025-11-01 12:08:41 +01:00
parent 3f2213791a
commit 340ff8586d
1008 changed files with 61301 additions and 58309 deletions

View file

@ -92,9 +92,7 @@ class HomebrewValidate:
if brew_path is None:
return True
return isinstance(
brew_path, str
) and not cls.INVALID_BREW_PATH_REGEX.search(brew_path)
return isinstance(brew_path, str) and not cls.INVALID_BREW_PATH_REGEX.search(brew_path)
@classmethod
def valid_package(cls, package):
@ -103,9 +101,7 @@ class HomebrewValidate:
if package is None:
return True
return isinstance(
package, str
) and not cls.INVALID_PACKAGE_REGEX.search(package)
return isinstance(package, str) and not cls.INVALID_PACKAGE_REGEX.search(package)
def parse_brew_path(module):