pub async fn format_files( files: Vec<PathBuf>, check_only: bool, ) -> Result<Vec<FormatResult>, Box<dyn Error>>