Skip to content

Releases: sphinx-contrib/sphinx-lint

v1.0.0

11 Sep 15:31
ff671d6
Compare
Choose a tag to compare

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

Full Changelog: v0.9.1...v1.0.0

v0.9.1

12 Dec 16:18
ce6d7ae
Compare
Choose a tag to compare

What's Changed

  • Add tool.hatch.build.targets.wheel to fix pip install . with Hatchling 1.19 by @hugovk in #106
    This fixes ValueError: Unable to determine which files to ship inside the wheel using the following heuristics: [...] when trying to pip 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

22 Nov 09:57
ac9d13a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.2...v0.9.0

v0.8.2

12 Nov 16:54
5b2e1b8
Compare
Choose a tag to compare

What's Changed

  • Move CLI code out of __main__.py to allow multiprocessing to work for python -m sphinxlint by @hugovk in #99
  • Docs: Add missing space in --help output by @rpatterson in #96

New Contributors

Full Changelog: v0.8.1...v0.8.2

v0.8.1

16 Oct 15:01
ae69698
Compare
Choose a tag to compare

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

15 Oct 18:22
dbccac0
Compare
Choose a tag to compare

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

13 Oct 13:26
b61542c
Compare
Choose a tag to compare

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

Full Changelog: v0.6.8...v0.7.0

v0.6.8

15 Aug 10:06
Compare
Choose a tag to compare

New

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

Fix

v0.6.7

18 Oct 14:25
a419948
Compare
Choose a tag to compare
  • 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

07 Oct 09:37
3aee36b
Compare
Choose a tag to compare

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.