- Bump
sybil-extrasto2026.3.1. - Drop support for Python 3.10.
- Add
--detect-pycon-languageoption (default:python) to automatically detect pycon (Python interactive console) blocks and apply prompt stripping only when a block's first non-empty line starts with>>>.
- Add support for installing with winget on Windows.
- Add
--temporary-file-name-templateoption for customizing temporary file names. This allows simpler patterns for linter per-file-ignores, such asdoccmd_{unique}{suffix}to produce files likedoccmd_a1b2.py. - Add
--respect-gitignore/--no-respect-gitignoreoption to respect.gitignorefiles when discovering files in directories. This is enabled by default. Files passed directly are not affected by this option. This uses dulwich and respects.gitignore,.git/info/exclude, and global gitignore files.
- Add support for Norg files.
- Add support for Djot files.
- Error if a group is started but not ended.
- Add support for MDX files.
- Add support for MyST
code-celldirective.
- Add a
--group-fileoption to automatically group all code blocks of the same language within a file.
- Add a
--write-to-file/--no-write-to-fileoption to control whether formatter output is written back to documents. - Add an
--example-workersoption to evaluate multiple code blocks in parallel when using--no-write-to-file. - Add a
--document-workersoption to evaluate multiple documents in parallel when using--no-write-to-file.
- Add a
--continue-on-errorflag to collect and display all errors across files before exiting.
- Fix
IndexErrorwhen using a formatter which changed the number of lines in a code block.
- Add a
--sphinx-jinja2option to evaluate sphinx-jinja2 blocks.
- With
--verbose, show the command that will be run before the command is run, not after.
- Support files which are not UTF-8 encoded.
- Support grouping code blocks with
doccmd group[all]: startanddoccmd group[all]: endcomments.
- Re-add support for Python 3.10.
- Add support for Markdown (not MyST) files.
- Add support for treating groups of code blocks as one.
- Drop support for Python 3.10.
- Skip files where we hit a lexing error.
- Bump Sybil requirement to >= 9.0.0.
- Add a
--max-depthoption for recursing into directories.
- Add options to support given file extensions for source files.
- Add support for passing in directories.
- Error if files do not have a
rstormdextension.
- Add options to control whether a pseudo-terminal is used for running commands in.
- Rename some options to make it clear that they apply to the temporary files created.
- Add documentation and source links to PyPI.
- Output in color (not yet on Windows).
- Only log
--verbosemessages when the relevant example will be run and is not a skip directive.
- Use line endings from the original file.