Skip to content

Finish broken-link report: fix test formatting so Lint passes - #4

Merged
Alcides1123 merged 1 commit into
mainfrom
1-fix-test-formatting
Nov 3, 2026
Merged

Alcides1123 merged 1 commit into
mainfrom
1-fix-test-formatting

Conversation

@Alcides1123

Copy link
Copy Markdown
Owner

Closes #1.

The broken-link report (#1) landed in #2, but #2 was merged before ruff was configured in #3. Four lines in tests/test_errors.py exceed the 100-character limit, so the Lint job fails on main and the CI badge shows failing.

This PR runs ruff format on that file. It's formatting only: no test or code changes.

Acceptance criteria from #1 (all on main via #2)

  • Errors are classified into kinds (gone, dns, blocked, server, http, timeout, connection, ssl, unsupported, other), with unit tests for each
  • Databases created by 0.1.0 are migrated automatically (PRAGMA user_version), keeping their data
  • markfind broken with --all, --kind, --urls
  • fetch / stats output updated, SSL hint shown
  • README, CHANGES and ROADMAP updated

Testing

  • ruff check . and ruff format --check . pass
  • pytest: 48 passed

The broken-link report tests were merged before ruff was configured,
so four parametrize lines exceeded the 100-character limit and failed
the Lint job on main. Formatting only; no test changes.

Closes #1
@Alcides1123
Alcides1123 merged commit b202aa5 into main Nov 3, 2026
11 of 13 checks passed
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.

Broken-link report: classify fetch errors and add markfind broken

1 participant