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: 345
Timestamp: 2024-04-18 19:37:25 PDT

Back to Dan's tech tidbits

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