Releases: sphinx-contrib/sphinx-lint
Releases · sphinx-contrib/sphinx-lint
v1.0.0
What's Changed
- Add checker for searching unnecessary parentheses in func & meth role by @mattwang44 in #115
- Fix
check_missing_space_in_hyperlink
docstring by @kartben in #117 - CI: Move friend projects to own job by @hugovk in #116
- CI: set concurrency by @Borda in #112
- Lint: unify Black with Ruff by @Borda in #110
New Contributors
- @Borda made their first contribution in #110
- @mattwang44 made their first contribution in #115
- @kartben made their first contribution in #117
Full Changelog: v0.9.1...v1.0.0
v0.9.1
What's Changed
- Add
tool.hatch.build.targets.wheel
to fixpip install .
with Hatchling 1.19 by @hugovk in #106
This fixesValueError: Unable to determine which files to ship inside the wheel using the following heuristics: [...]
when trying topip install .
, including via pre-commit. - Add tox for easy testing of multiple Python versions by @hugovk in #100
- Lint on GitHub Actions via pre-commit by @hugovk in #104
Full Changelog: v0.9.0...v0.9.1
v0.9.0
What's Changed
- Print error messages to stderr by @rffontenelle in #102
New Contributors
- @rffontenelle made their first contribution in #102
Full Changelog: v0.8.2...v0.9.0
v0.8.2
What's Changed
- Move CLI code out of
__main__.py
to allow multiprocessing to work forpython -m sphinxlint
by @hugovk in #99 - Docs: Add missing space in --help output by @rpatterson in #96
New Contributors
- @rpatterson made their first contribution in #96
Full Changelog: v0.8.1...v0.8.2
v0.8.1
What's Changed
- Use
require_serial: true
as the default for our pre-commit hook, not-j1
by @AlexWaygood in #95
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
- Add link to changelog on pyproject.toml/PyPI by @ezio-melotti in #92
- Fix sh code block in README by @jdillard in #93
- Updates on using Sphinx Lint with pre-commit:
- Add docs on how best to use sphinx-lint with pre-commit by @AlexWaygood in #90
- Improve usability of Sphinx Lint with pre-commit by @AlexWaygood in #94
New Contributors
Full Changelog: v0.7.0...v0.8.0
v0.7.0
What's Changed
- NEW: Allow users to provide an explicit process count by @rtobar in #78
- NEW:
sphinx-lint
is now ~3x faster- Use pre-compiled regular expressions by @rtobar in #77
- Add caches to hot functions in
utils.py
that are called from multiple locations by @AlexWaygood in #79 - Micro-optimise
check_missing_space_after_role()
by @AlexWaygood in #80 - Add a cache to
rst.inline_markup_gen()
by @AlexWaygood in #81 - Pre-compile nearly all regex patterns by @AlexWaygood in #82
- Improve the caching strategy employed in
utils.py
by @AlexWaygood in #84
- INFRA: Add a deploy.yml that supports trusted publishing. by @ezio-melotti in #88
- INFRA: Update Python version used to test friend projects. by @ezio-melotti in #85
New Contributors
- @AlexWaygood made their first contribution in #79
Full Changelog: v0.6.8...v0.7.0
v0.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
v0.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.
v0.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.