diff --git a/.markdownlint-cli2.yaml b/.markdownlint-cli2.yaml index 5dff393..8ea0195 100644 --- a/.markdownlint-cli2.yaml +++ b/.markdownlint-cli2.yaml @@ -3,7 +3,7 @@ config: no-emphasis-as-header: false first-line-heading: false MD033: - allowed_elements: ["details", "summary", "br"] + allowed_elements: ["details", "summary", "br", "a", "p", "img"] MD024: siblings_only: true globs: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 42bfaa8..58defc8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,10 +5,14 @@ repos: hooks: # Run the Ruff formatter. - id: ruff-format + name: "Ruff formatter" args: [--config=pyproject.toml] + files: '^(docling_serve|tests).*\.(py|ipynb)$' # Run the Ruff linter. - id: ruff + name: "Ruff linter" args: [--exit-non-zero-on-fix, --fix, --config=pyproject.toml] + files: '^(docling_serve|tests).*\.(py|ipynb)$' - repo: local hooks: - id: system diff --git a/README.md b/README.md index ff54f25..df4891e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +
+
+
+
+