Skip to content

Commit

Permalink
style: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasDoesThings committed Jun 9, 2024
1 parent 83e4239 commit 39f7148
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mkdocs_exclude_unused_files/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ExcludeUnusedFilesPluginConfig(mkdocs.config.base.Config):
folders_to_never_remove_from = mkdocs.config.config_options.Type(list, default=["assets"])
file_name_suffixes_to_trim = mkdocs.config.config_options.Type(list, default=["#only-light", "#only-dark"])


class ExcludeUnusedFilesPlugin(BasePlugin[ExcludeUnusedFilesPluginConfig]):
asset_files: Set[str] = set()
file_types_to_check = [
Expand Down Expand Up @@ -190,4 +191,4 @@ def on_post_build(self, config: MkDocsConfig) -> None:
except OSError as error:
log.warning("failed deleting file %s, an error occurred %s", str(error.filename), error.strerror)

log.info("deleted %s unused assets from final output", str(delete_count))
log.info("deleted %s unused assets from final output", str(delete_count))

0 comments on commit 39f7148

Please sign in to comment.