line-lengths-summary is a small script that can be used for analyzing a project's line lengths.

Example use:

It is not limited to only doing Python code. Also, it is not limited to any particular unicode encoding - both filenames and lines are treated as bytes.

You can get a quick list of files that have oversized line lengths with:




Hits: 333
Timestamp: 2024-02-29 10:56:17 PST

Back to Dan's tech tidbits

You can e-mail the author with questions or comments: