Skip to content

Fix Ruff failures introduced by test module docstrings - #14

Open
brunnojob wants to merge 1 commit into
mrzroot:mainfrom
brunnojob:fix-test-docstring-lint
Open

brunnojob wants to merge 1 commit into
mrzroot:mainfrom
brunnojob:fix-test-docstring-lint

Conversation

@brunnojob

Copy link
Copy Markdown

What does this change?

At main commit 89d7285, ruff check . reports 7 E501 errors and ruff format --check . reports 13 test modules requiring a blank line after their new docstring. This blocks the documented contribution checks, including otherwise unrelated contributions such as #13.

Wrap the seven long docstrings and insert the required blank lines in all 13 affected test modules. Preserve their descriptions and all executable code; add an Unreleased changelog entry.

Validation

Python 3.12.14, Ruff 0.17.2:

  • ruff check .: passed.
  • ruff format --check .: 59 files already formatted.
  • mypy: passed, 38 source files.
  • pytest -q: 150 passed, with proxy environment variables unset for mocked HTTP tests.
  • flowpilot -p examples validate: all 7 workflows valid.
  • AST comparison against upstream/main after removing module docstrings: executable AST identical in all 13 modified Python files.
  • git diff --check: passed.

Checklist

  • Tests verified; no behavioral changes requiring new tests
  • ruff check ., ruff format --check . and mypy pass
  • Docs / README / CHANGELOG updated if behaviour changed

Prepared and verified with AI assistance.

This branch has not been deployed

No deployments
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