sloc-languages 1.5.64

Source line analysis tool with CLI, web UI, HTML/PDF reports, and CI/CD integration
Documentation
import os
from sys import argv


class Animal:
    def __init__(self):
        pass

    def speak(self):
        return "..."


def helper():
    return 42


class TestAnimal:
    def test_speak(self):
        self.assertEqual("...", "...")

    def test_helper(self):
        self.assertEqual(helper(), 42)