',
(
'
[1]
'
diff --git a/pyproject.toml b/pyproject.toml
index 945203a..99ba77e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -28,12 +28,13 @@ classifiers = [
"Issue Tracker" = "https://github.com/pelican-plugins/pandoc-reader/issues"
[tool.poetry.dependencies]
-python = ">=3.8.1,<4.0"
+python = ">=3.9.0,<4.0"
pelican = ">=4.5"
markdown = {version = "<=3.3.4", optional = true}
pyyaml = "^6.0.0"
beautifulsoup4 = "^4.9.3"
"ruamel.yaml" = "^0.17.32"
+docutils = "^0.21.2"
[tool.poetry.dev-dependencies]
black = "^23"
From e898ba572c0fd1fc172a834ad534579dd880fdfb Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Tue, 2 Jul 2024 05:40:48 +0000
Subject: [PATCH 2/2] [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