Skip to content

chore: clear the findings of the pre-commit hooks - #210

Merged
markuslf merged 1 commit into
mainfrom
fix/pre-commit-findings
Nov 22, 2026
Merged

markuslf merged 1 commit into
mainfrom
fix/pre-commit-findings

Conversation

@markuslf

@markuslf markuslf commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

pre-commit run --all-files failed on main with two bandit findings,
both intended:

  • core/markdown.py (B704): the Markdown renderer marks its output safe
    on purpose; the text is template text filled with facts the same
    person enters in the local dashboard, served on 127.0.0.1 only.
  • tests/test_export.py (B701): the test environment mirrors the export
    environment, which has autoescape off because each exporter escapes
    for its own markup.

No behaviour change.
Checks: pre-commit run --all-files passes, python -m pytest tests/test_export.py passes locally; CI ran the full suite on Python 3.11 to 3.14.

`pre-commit run --all-files` failed on main with two bandit findings,
both intended:

- core/markdown.py (B704): the Markdown renderer marks its output safe
  on purpose; the text is template text filled with facts the same
  person enters in the local dashboard, served on 127.0.0.1 only.
- tests/test_export.py (B701): the test environment mirrors the export
  environment, which has autoescape off because each exporter escapes
  for its own markup.

No behaviour change.
@markuslf markuslf changed the title fix: clear the findings of the pre-commit hooks chore: clear the findings of the pre-commit hooks Nov 22, 2026
@markuslf
markuslf merged commit d963f44 into main Nov 22, 2026
13 checks passed
@markuslf
markuslf deleted the fix/pre-commit-findings branch November 22, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant