Dlen checks the length of the functions.
dlen for a world with less code.
Check the length of the method (maximum 20 lines) and the class (maximum 500 lines). To keep your code clean and clear you should always try to avoid having too many lines of code. Also recommended to use pep8, isort, pydocstyle pack.
Supports Python 2.7+
` git clone firstname.lastname@example.org:Endika/dlen.git cd dlen python setup.py install `
` pip install dlen `
` dlen my_script.py `
` [ERROR] 'my_script.py' big_function function too long (25 > 20 lines) [WARN] 'my_script.py' my_function function too long (13 > 12 lines) `
` dlen . dlen /path/project `
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.