Skip to content

Remove docformatter schema.py exclusion when upstream fix is released #147

@dustinblack

Description

@dustinblack

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions