Sphinx-lint

Latest version: v1.0.0

Safety actively analyzes 702323 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.7.0

What's Changed
* NEW: Allow users to provide an explicit process count by rtobar in https://github.com/sphinx-contrib/sphinx-lint/pull/78
* NEW: `sphinx-lint` is now ~3x faster
* Use pre-compiled regular expressions by rtobar in https://github.com/sphinx-contrib/sphinx-lint/pull/77
* Add caches to hot functions in `utils.py` that are called from multiple locations by AlexWaygood in https://github.com/sphinx-contrib/sphinx-lint/pull/79
* Micro-optimise `check_missing_space_after_role()` by AlexWaygood in https://github.com/sphinx-contrib/sphinx-lint/pull/80
* Add a cache to `rst.inline_markup_gen()` by AlexWaygood in https://github.com/sphinx-contrib/sphinx-lint/pull/81
* Pre-compile nearly all regex patterns by AlexWaygood in https://github.com/sphinx-contrib/sphinx-lint/pull/82
* Improve the caching strategy employed in `utils.py` by AlexWaygood in https://github.com/sphinx-contrib/sphinx-lint/pull/84
* INFRA: Add a deploy.yml that supports trusted publishing. by ezio-melotti in https://github.com/sphinx-contrib/sphinx-lint/pull/88
* INFRA: Update Python version used to test friend projects. by ezio-melotti in https://github.com/sphinx-contrib/sphinx-lint/pull/85

New Contributors
* AlexWaygood made their first contribution in https://github.com/sphinx-contrib/sphinx-lint/pull/79

**Full Changelog**: https://github.com/sphinx-contrib/sphinx-lint/compare/v0.6.8...v0.7.0

0.6.8

New

- Handle optional sorting of errors before reporting by hugovk
- Add check for dangling hyphens by hugovk

Fix

- Skip default role check for multiline roles in tables. by ezio-melotti
- Broader handling of glued roles. by JulienPalard

0.6.7

- FIX: Some messages were badly describing the situation.
- NEW: Sphinx-lint is not able to find errors in directives containing reStructuredText, like admonitions.

0.6.6

NEW

- Can detect missing backtick at the begin of hyperlink references.
- Can detect missing spaces before default roles.
- Can detect unbalanced double backticks like in hello ``world`` how ``are you?


FIXED

- Some false positives in the role-with-double-backticks detector.
- Detects default-roles that were previously missed.

0.6.1

FIX: Line numbering in error messages.

Reported by hugovk, fixed by ezio-melotti, thanks!

0.6

Enhanced line-too-long checker and added a `--max-line-length` option.

Page 2 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.