From b1a12c3f68017a588612d01e02cae7a5901f8a29 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 22:51:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pelican/plugins/pandoc_reader/__init__.py | 1 + pelican/plugins/pandoc_reader/pandoc_reader.py | 1 + pelican/plugins/pandoc_reader/test/test_invalid_args.py | 1 + .../plugins/pandoc_reader/test/test_invalid_defaults_files.py | 1 + pelican/plugins/pandoc_reader/test/test_invalid_metadata.py | 1 + .../pandoc_reader/test/test_invalid_multiple_defaults_files.py | 1 + pelican/plugins/pandoc_reader/test/test_pandoc_availability.py | 1 + pelican/plugins/pandoc_reader/test/test_specific_outputs.py | 1 + pelican/plugins/pandoc_reader/test/test_valid_arg_citations.py | 1 + pelican/plugins/pandoc_reader/test/test_valid_args.py | 1 + pelican/plugins/pandoc_reader/test/test_valid_defaults_files.py | 1 + .../pandoc_reader/test/test_valid_multiple_default_files.py | 1 + 12 files changed, 12 insertions(+) diff --git a/pelican/plugins/pandoc_reader/__init__.py b/pelican/plugins/pandoc_reader/__init__.py index 124ec0b..8db335b 100644 --- a/pelican/plugins/pandoc_reader/__init__.py +++ b/pelican/plugins/pandoc_reader/__init__.py @@ -1,2 +1,3 @@ """Importing pandoc_reader package.""" + from .pandoc_reader import * # NOQA diff --git a/pelican/plugins/pandoc_reader/pandoc_reader.py b/pelican/plugins/pandoc_reader/pandoc_reader.py index 99f2070..4079977 100644 --- a/pelican/plugins/pandoc_reader/pandoc_reader.py +++ b/pelican/plugins/pandoc_reader/pandoc_reader.py @@ -1,4 +1,5 @@ """Reader that processes Pandoc Markdown and returns HTML5.""" + import json import math import os diff --git a/pelican/plugins/pandoc_reader/test/test_invalid_args.py b/pelican/plugins/pandoc_reader/test/test_invalid_args.py index d899cf4..a003ff1 100644 --- a/pelican/plugins/pandoc_reader/test/test_invalid_args.py +++ b/pelican/plugins/pandoc_reader/test/test_invalid_args.py @@ -1,4 +1,5 @@ """Test using invalid arguments and extensions with the pandoc-reader plugin.""" + import os import unittest diff --git a/pelican/plugins/pandoc_reader/test/test_invalid_defaults_files.py b/pelican/plugins/pandoc_reader/test/test_invalid_defaults_files.py index 089afc7..6170a12 100644 --- a/pelican/plugins/pandoc_reader/test/test_invalid_defaults_files.py +++ b/pelican/plugins/pandoc_reader/test/test_invalid_defaults_files.py @@ -1,4 +1,5 @@ """Test using invalid defaults files with the pandoc-reader plugin.""" + import os import unittest diff --git a/pelican/plugins/pandoc_reader/test/test_invalid_metadata.py b/pelican/plugins/pandoc_reader/test/test_invalid_metadata.py index 0c6bfaf..a196a8f 100644 --- a/pelican/plugins/pandoc_reader/test/test_invalid_metadata.py +++ b/pelican/plugins/pandoc_reader/test/test_invalid_metadata.py @@ -1,4 +1,5 @@ """Test using invalid metadata with the pandoc-reader plugin.""" + import os import unittest diff --git a/pelican/plugins/pandoc_reader/test/test_invalid_multiple_defaults_files.py b/pelican/plugins/pandoc_reader/test/test_invalid_multiple_defaults_files.py index 4941b0e..9f7e673 100644 --- a/pelican/plugins/pandoc_reader/test/test_invalid_multiple_defaults_files.py +++ b/pelican/plugins/pandoc_reader/test/test_invalid_multiple_defaults_files.py @@ -1,4 +1,5 @@ """Test using multiple invalid default files with the pandoc-reader plugin.""" + import os import unittest diff --git a/pelican/plugins/pandoc_reader/test/test_pandoc_availability.py b/pelican/plugins/pandoc_reader/test/test_pandoc_availability.py index cdf929c..293b0a4 100644 --- a/pelican/plugins/pandoc_reader/test/test_pandoc_availability.py +++ b/pelican/plugins/pandoc_reader/test/test_pandoc_availability.py @@ -1,4 +1,5 @@ """Test if a supported version of the pandoc executable is available.""" + import os import shutil import unittest diff --git a/pelican/plugins/pandoc_reader/test/test_specific_outputs.py b/pelican/plugins/pandoc_reader/test/test_specific_outputs.py index ca59ce5..036367f 100644 --- a/pelican/plugins/pandoc_reader/test/test_specific_outputs.py +++ b/pelican/plugins/pandoc_reader/test/test_specific_outputs.py @@ -1,4 +1,5 @@ """Test reading time and summary output from the pandoc-reader plugin.""" + import os import unittest diff --git a/pelican/plugins/pandoc_reader/test/test_valid_arg_citations.py b/pelican/plugins/pandoc_reader/test/test_valid_arg_citations.py index abf630a..90b6a66 100644 --- a/pelican/plugins/pandoc_reader/test/test_valid_arg_citations.py +++ b/pelican/plugins/pandoc_reader/test/test_valid_arg_citations.py @@ -1,4 +1,5 @@ """Test using valid arguments and citations with the pandoc-reader plugin.""" + import os import unittest diff --git a/pelican/plugins/pandoc_reader/test/test_valid_args.py b/pelican/plugins/pandoc_reader/test/test_valid_args.py index c1a6ed0..23b113c 100644 --- a/pelican/plugins/pandoc_reader/test/test_valid_args.py +++ b/pelican/plugins/pandoc_reader/test/test_valid_args.py @@ -1,4 +1,5 @@ """Test using valid arguments and extensions with the pandoc-reader plugin.""" + import os import unittest diff --git a/pelican/plugins/pandoc_reader/test/test_valid_defaults_files.py b/pelican/plugins/pandoc_reader/test/test_valid_defaults_files.py index 156dcc0..38e6bee 100644 --- a/pelican/plugins/pandoc_reader/test/test_valid_defaults_files.py +++ b/pelican/plugins/pandoc_reader/test/test_valid_defaults_files.py @@ -1,4 +1,5 @@ """Test using valid default files with the pandoc-reader plugin.""" + import os import unittest diff --git a/pelican/plugins/pandoc_reader/test/test_valid_multiple_default_files.py b/pelican/plugins/pandoc_reader/test/test_valid_multiple_default_files.py index 84015ea..bfd561f 100644 --- a/pelican/plugins/pandoc_reader/test/test_valid_multiple_default_files.py +++ b/pelican/plugins/pandoc_reader/test/test_valid_multiple_default_files.py @@ -1,4 +1,5 @@ """Test using multiple valid defaults files with the pandoc-reader plugin.""" + import os import unittest