TLDR.Chat

Python Function Length Analyzer Tool

GitHub - zokis/FunctionLengthAnalyzer: Analyze Python project or files to find large functions. ๐Ÿ”—

Analyze Python project or files to find large functions. - GitHub - zokis/FunctionLengthAnalyzer: Analyze Python project or files to find large functions.

Function Length Analyzer is a Python tool that analyzes Python projects or files to find functions that are too long based on specified or default line limits. It supports analyzing single files or entire directories, setting custom error and warning line limits, and ignoring test files. The tool can be configured using a pyproject.toml file, and it provides the option to enable or disable output. The script exits with a status of 1 if any function exceeds the error line limit, making it suitable for use in CI/CD pipelines.

Related