Context
docformatter 1.7.8 crashes with ValueError: start precedes previous end when processing schema.py. This is a known upstream regression:
We cannot use docformatter < 1.7.8 because those versions depend on the untokenize package, which fails to build on Python 3.14 (its setup.py uses the removed ast.Constant.s attribute).
Current Workaround
The CI workflow uses find to pass all .py files except schema.py to docformatter, skipping the file that triggers the crash.
Action Required
When docformatter releases a fix for issue #355 (or a successor tool is adopted), remove the schema.py exclusion in .github/workflows/build.yml and restore the simpler --recursive . invocation.
Context
docformatter 1.7.8 crashes with
ValueError: start precedes previous endwhen processingschema.py. This is a known upstream regression:ValueError: start precedes previous endcrash in v1.7.8 when file contains trailing whitespace on blank lines PyCQA/docformatter#355We cannot use docformatter < 1.7.8 because those versions depend on the
untokenizepackage, which fails to build on Python 3.14 (itssetup.pyuses the removedast.Constant.sattribute).Current Workaround
The CI workflow uses
findto pass all.pyfiles exceptschema.pyto docformatter, skipping the file that triggers the crash.Action Required
When docformatter releases a fix for issue #355 (or a successor tool is adopted), remove the
schema.pyexclusion in.github/workflows/build.ymland restore the simpler--recursive .invocation.