(path=RULES_FILE_PATH)
Check if the given udev rules file is up to date.

    :param str path: The path of the udev rules file.

    :rtype: bool
Check if the given udev rules file is up to date.
Check if the given udev rules file is up to date .
def is_rules_file_up_to_date(path=RULES_FILE_PATH):
    """Check if the given udev rules file is up to date.

    :param str path: The path of the udev rules file.

    :rtype: bool
    """
    path = str(path)  # py27 compatibility: coerce PosixPath to string
    with open(path, "r") as rules_file:
        return are_rules_up_to_date(rules_file.read())
def is_rules_file_up_to_date ( path = RULES_FILE_PATH ) : path = str ( path ) # py27 compatibility: coerce PosixPath to string with open ( path , "r" ) as rules_file : return are_rules_up_to_date ( rules_file . read ( ) )