{"repo":"tonybaloney/wily","free":true,"listed":false,"github":"https://github.com/tonybaloney/wily","clone":"git clone https://github.com/tonybaloney/wily.git","description":"A Python application for tracking, reporting on timing and complexity in Python code","language":"Python","stars":1319,"topics":["hacktoberfest","hacktoberfest-accepted","complexity","python","quality"],"license":"Apache-2.0","category":"docs-static-sites","readme_excerpt":"A command-line application for tracking, reporting on complexity of Python tests and applications. Wily uses git to go through each revision (commit) in a branch and run complexity and code-analysis metrics over the code. You can use this to limit your code or report on trends for complexity, length etc. Installation Wily can be installed via pip from Python 3.10 and above: Alternatively, Wily packages are available on conda-forge: Usage See the Documentation Site for full usage guides. Wily can be used via a command line interface, wily . Demo Here is a demo of wily analysing a Python project, giving a summary of changes to complexity in the last 10 commits and then showing changes against a specific git revision: Using Wily in a CI/CD pipeline Wily can be used in a CI/CD workflow to compare the complexity of the current files against a particular revision. By default, wily will compare against the previous revision (for a git-pre-commit hook) but you can also give a Git ref, for example HEAD^1 is the commit before the HEAD reference. Or, to compare against pre-commit plugin You can install wily as a pre-commit plugin by adding the following to .pre-commit-config.yaml Command line usage wily build The first step to using wily is to build a wily cache with the statistics of your project. By default, wily will assume your project folder is a git directory. Wily will not build a cache if the working copy is dirty (has changed files not committed). Limit the number of revisions ","default_branch":null,"files":null,"tree":[],"storefront":"/r/tonybaloney","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tonybaloney/wily/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}