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: 393
Timestamp: 2024-10-05 18:38:01 PDT

Back to Dan's tech tidbits

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